WordPress at Your Fingertips
function is not described

WC_Cart::get_taxes() public WC 1.0

Returns the cart and shipping taxes, merged.

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

Hooks from the method
Return

Array. merged taxes

Usage

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

Code of WC_Cart::get_taxes() WC 5.7.1

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 );
}