woocommerce_matched_rates filter-hookWC 1.0

Usage

add_filter( 'woocommerce_matched_rates', 'wp_kama_woocommerce_matched_rates_filter', 10, 3 );

/**
 * Function for `woocommerce_matched_rates` filter-hook.
 * 
 * @param  $matched_tax_rates 
 * @param  $tax_class         
 * @param  $customer          
 *
 * @return 
 */
function wp_kama_woocommerce_matched_rates_filter( $matched_tax_rates, $tax_class, $customer ){

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

Where the hook is called

WC_Tax::get_rates_from_location()
woocommerce_matched_rates
woocommerce/includes/class-wc-tax.php 515
return apply_filters( 'woocommerce_matched_rates', $matched_tax_rates, $tax_class, $customer );

Where the hook is used in WooCommerce

Usage not found.