woocommerce_find_rates filter-hookWC 1.0

Usage

add_filter( 'woocommerce_find_rates', 'wp_kama_woocommerce_find_rates_filter', 10, 2 );

/**
 * Function for `woocommerce_find_rates` filter-hook.
 * 
 * @param  $matched_tax_rates 
 * @param  $args              
 *
 * @return 
 */
function wp_kama_woocommerce_find_rates_filter( $matched_tax_rates, $args ){

	// filter...
	return $matched_tax_rates;
}
$matched_tax_rates
-
$args
-

Where the hook is called

WC_Tax::find_rates()
woocommerce_find_rates
woocommerce/includes/class-wc-tax.php 252
return apply_filters( 'woocommerce_find_rates', $matched_tax_rates, $args );

Where the hook is used in WooCommerce

Usage not found.