WC_Cart::get_cart_contents_taxes()publicWC 3.2.0

Get taxes.

Method of the class: WC_Cart{}

Hooks from the method

Return

null. Nothing (null).

Usage

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

Changelog

Since 3.2.0 Introduced.

WC_Cart::get_cart_contents_taxes() code WC 8.6.1

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