woocommerce_cart_taxes_total
Usage
add_filter( 'woocommerce_cart_taxes_total', 'wp_kama_woocommerce_cart_taxes_total_filter', 10, 4 ); /** * Function for `woocommerce_cart_taxes_total` filter-hook. * * @param $total * @param $compound * @param $display * @param $that * * @return */ function wp_kama_woocommerce_cart_taxes_total_filter( $total, $compound, $display, $that ){ // filter... return $total; }
- $total
- -
- $compound
- -
- $display
- -
- $that
- -
Where the hook is called
woocommerce_cart_taxes_total
woocommerce/includes/class-wc-cart.php 2125
return apply_filters( 'woocommerce_cart_taxes_total', $total, $compound, $display, $this );