WC_Cart::get_cart_tax PHP 메소드

get_cart_tax() 공개 메소드

Gets the cart tax (after calculation).
public get_cart_tax ( ) : string
리턴 string formatted price
    public function get_cart_tax()
    {
        $cart_total_tax = wc_round_tax_total($this->tax_total + $this->shipping_tax_total);
        return apply_filters('woocommerce_get_cart_tax', $cart_total_tax ? wc_price($cart_total_tax) : '');
    }
WC_Cart