woocommerce_get_cart_tax, $cart_total_tax ? wc_price( $cart_total_tax
woocommerce_get_cart_tax, $cart_total_tax ? wc_price( $cart_total_tax
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_get_cart_tax, $cart_total_tax ? wc_price( $cart_total_tax') is found 1 times:
- /includes/class-wc-cart.php line 2396
*/ public function get_cart_tax() { $cart_total_tax = wc_round_tax_total( $this->get_cart_contents_tax() + $this->get_shipping_tax() + $this->get_fee_tax() ); return apply_filters( 'woocommerce_get_cart_tax', $cart_total_tax ? wc_price( $cart_total_tax ) : '' ); } /** * Get a tax amount. * * @param string $tax_rate_id ID of the tax rate to get taxes for.