woocommerce_rate_compound filter-hookWC 1.0

Usage

add_filter( 'woocommerce_rate_compound', 'wp_kama_woocommerce_rate_compound_filter', 10, 2 );

/**
 * Function for `woocommerce_rate_compound` filter-hook.
 * 
 * @param  $compound 
 * @param  $key      
 *
 * @return 
 */
function wp_kama_woocommerce_rate_compound_filter( $compound, $key ){

	// filter...
	return $compound;
}
$compound
-
$key
-

Where the hook is called

WC_Tax::is_compound()
woocommerce_rate_compound
woocommerce/includes/class-wc-tax.php 658
return (bool) apply_filters( 'woocommerce_rate_compound', $compound, $key );

Where the hook is used in WooCommerce

Usage not found.