woocommerce_api_create_tax action-hookWC 1.0

Usage

add_action( 'woocommerce_api_create_tax', 'wp_kama_woocommerce_api_create_tax_action', 10, 2 );

/**
 * Function for `woocommerce_api_create_tax` action-hook.
 * 
 * @param  $id   
 * @param  $data 
 *
 * @return void
 */
function wp_kama_woocommerce_api_create_tax_action( $id, $data ){

	// action...
}
$id
-
$data
-

Where the hook is called

WC_API_Taxes::create_tax()
woocommerce_api_create_tax
woocommerce/includes/legacy/api/v3/class-wc-api-taxes.php 231
do_action( 'woocommerce_api_create_tax', $id, $data );

Where the hook is used in WooCommerce

Usage not found.