WC_Cart::get_total_tax
Get total tax amount.
Method of the class: WC_Cart{}
Hooks from the method
Returns
float.
Usage
$WC_Cart = new WC_Cart(); $WC_Cart->get_total_tax();
Changelog
| Since 3.2.0 | Introduced. |
WC_Cart::get_total_tax() WC Cart::get total tax code WC 10.5.0
public function get_total_tax() {
return apply_filters( 'woocommerce_cart_' . __FUNCTION__, $this->get_totals_var( 'total_tax' ) );
}