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