woocommerce_api_tax_response хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_api_tax_response', 'filter_function_name_9064', 10, 4 ); function filter_function_name_9064( $tax_data, $tax, $fields, $that ){ // filter... return $tax_data; }
- $tax_data
- -
- $tax
- -
- $fields
- -
- $that
- -
Где вызывается хук
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 ) );