WC_Cart::get_cart_discount_tax_total PHP Method

get_cart_discount_tax_total() public method

Get the total of all cart tax discounts (used for discounts on tax inclusive prices).
    public function get_cart_discount_tax_total()
    {
        return wc_cart_round_discount($this->discount_cart_tax, $this->dp);
    }
WC_Cart