woocommerce_order_get_tax_totals хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_order_get_tax_totals', 'filter_function_name_376', 10, 2 ); function filter_function_name_376( $tax_totals, $that ){ // filter... return $tax_totals; }
- $tax_totals
- -
- $that
- -
Где вызывается хук
woocommerce_order_get_tax_totals
woocommerce/includes/abstracts/abstract-wc-order.php 475
return apply_filters( 'woocommerce_order_get_tax_totals', $tax_totals, $this );