woocommerce_customer_default_location_array
Usage
add_filter( 'woocommerce_customer_default_location_array', 'wp_kama_woocommerce_customer_default_location_array_filter' ); /** * Function for `woocommerce_customer_default_location_array` filter-hook. * * @param $location * * @return */ function wp_kama_woocommerce_customer_default_location_array_filter( $location ){ // filter... return $location; }
- $location
- -
Where the hook is called
woocommerce_customer_default_location_array
woocommerce/includes/wc-core-functions.php 1363
return apply_filters( 'woocommerce_customer_default_location_array', $location );