woocommerce_customer_default_location_array filter-hookWC 1.0

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

wc_get_customer_default_location()
woocommerce_customer_default_location_array
woocommerce/includes/wc-core-functions.php 1360
return apply_filters( 'woocommerce_customer_default_location_array', $location );

Where the hook is used in WooCommerce

Usage not found.