woocommerce_tax_rate_added action-hookWC 1.0

Usage

add_action( 'woocommerce_tax_rate_added', 'wp_kama_woocommerce_tax_rate_added_action', 10, 2 );

/**
 * Function for `woocommerce_tax_rate_added` action-hook.
 * 
 * @param  $tax_rate_id 
 * @param  $tax_rate    
 *
 * @return void
 */
function wp_kama_woocommerce_tax_rate_added_action( $tax_rate_id, $tax_rate ){

	// action...
}
$tax_rate_id
-
$tax_rate
-

Where the hook is called

WC_Tax::_insert_tax_rate()
woocommerce_tax_rate_added
woocommerce/includes/class-wc-tax.php 1053
do_action( 'woocommerce_tax_rate_added', $tax_rate_id, $tax_rate );

Where the hook is used in WooCommerce

Usage not found.