WC_Cart::get_taxes()
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() WC Cart::get taxes code WC 9.8.2
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 ); }