WordPress at Your Fingertips
filter is not described

woocommerce_api_customer_billing_address filter-hook . WC 2.2

Get customer billing address fields.

Usage

add_filter( 'woocommerce_api_customer_billing_address', 'filter_function_name_250' );
function filter_function_name_250( $array ){
	// filter...

	return $array;
}
$array
-

Changelog

Since 2.2 Introduced.

Where the hook is called

WC_API_Customers::get_customer_billing_address()
woocommerce_api_customer_billing_address
woocommerce/includes/legacy/api/v2/class-wc-api-customers.php 249-261
$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',
) );
woocommerce/includes/legacy/api/v3/class-wc-api-customers.php 250-262
$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',
) );

Where in WP core the hook is used WooCommerce

Usage not found.