WordPress at Your Fingertips
function is not described

WC_Cart::get_shipping_tax() public WC 3.2.0

Get shipping_tax.

{} It's a method of the class: WC_Cart{}

Hooks from the method
Return

float.

Usage

$WC_Cart = new WC_Cart();
$WC_Cart->get_shipping_tax();

Changelog

Since 3.2.0 Introduced.

Code of WC_Cart::get_shipping_tax() WC 5.6.0

public function get_shipping_tax() {
	return apply_filters( 'woocommerce_cart_' . __FUNCTION__, $this->get_totals_var( 'shipping_tax' ) );
}