WC_Cart::get_taxes()publicWC 1.0

Returns the cart and shipping taxes, merged.

Method of the class: WC_Cart{}

Hooks from the method

Return

Array. merged taxes

Usage

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

WC_Cart::get_taxes() code WC 8.9.0

public function get_taxes() {
	return apply_filters( 'woocommerce_cart_get_taxes', wc_array_merge_recursive_numeric( $this->get_shipping_taxes(), $this->get_cart_contents_taxes(), $this->get_fee_taxes() ), $this );
}