woocommerce_api_create_tax_data filter-hookWC 1.0

Usage

add_filter( 'woocommerce_api_create_tax_data', 'wp_kama_woocommerce_api_create_tax_data_filter', 10, 2 );

/**
 * Function for `woocommerce_api_create_tax_data` filter-hook.
 * 
 * @param  $data_tax 
 * @param  $that     
 *
 * @return 
 */
function wp_kama_woocommerce_api_create_tax_data_filter( $data_tax, $that ){

	// filter...
	return $data_tax;
}
$data_tax
-
$that
-

Where the hook is called

WC_API_Taxes::create_tax()
woocommerce_api_create_tax_data
woocommerce/includes/legacy/api/v3/class-wc-api-taxes.php 192
$data = apply_filters( 'woocommerce_api_create_tax_data', $data['tax'], $this );

Where the hook is used in WooCommerce

Usage not found.