woocommerce_get_tax_location filter-hookWC 1.0

Usage

add_filter( 'woocommerce_get_tax_location', 'wp_kama_woocommerce_get_tax_location_filter', 10, 3 );

/**
 * Function for `woocommerce_get_tax_location` filter-hook.
 * 
 * @param  $location  
 * @param  $tax_class 
 * @param  $customer  
 *
 * @return 
 */
function wp_kama_woocommerce_get_tax_location_filter( $location, $tax_class, $customer ){

	// filter...
	return $location;
}
$location
-
$tax_class
-
$customer
-

Where the hook is called

WC_Tax::get_tax_location()
woocommerce_get_tax_location
woocommerce/includes/class-wc-tax.php 471
return apply_filters( 'woocommerce_get_tax_location', $location, $tax_class, $customer );

Where the hook is used in WooCommerce

Usage not found.