WC_API_Customers::get_customer_shipping_address()
Get customer shipping address fields.
Description Description
Return Return
(array)
Source Source
File: includes/legacy/api/v2/class-wc-api-customers.php
protected function get_customer_shipping_address() { $shipping_address = apply_filters( 'woocommerce_api_customer_shipping_address', array( 'first_name', 'last_name', 'company', 'address_1', 'address_2', 'city', 'state', 'postcode', 'country', ) ); return $shipping_address; }
Changelog Changelog
Version | Description |
---|---|
2.2 | Introduced. |