WC_Cart::get_taxes()publicWC 1.0

Returns the cart and shipping taxes, merged.

Метод класса: WC_Cart{}

Хуки из метода

Возвращает

Массив. merged taxes

Использование

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

Код WC_Cart::get_taxes() WC 8.7.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 );
}