woocommerce_api_tax_response хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_api_tax_response', 'wp_kama_woocommerce_api_tax_response_filter', 10, 4 );

/**
 * Function for `woocommerce_api_tax_response` filter-hook.
 * 
 * @param  $tax_data 
 * @param  $tax      
 * @param  $fields   
 * @param  $that     
 *
 * @return 
 */
function wp_kama_woocommerce_api_tax_response_filter( $tax_data, $tax, $fields, $that ){

	// filter...
	return $tax_data;
}
$tax_data
-
$tax
-
$fields
-
$that
-

Где вызывается хук

WC_API_Taxes::get_tax()
woocommerce_api_tax_response
woocommerce/includes/legacy/api/v3/class-wc-api-taxes.php 166
return array( 'tax' => apply_filters( 'woocommerce_api_tax_response', $tax_data, $tax, $fields, $this ) );

Где используется хук в WooCommerce

Использование не найдено.