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