WC_Legacy_Cart::get_cart_discount_tax_total()publicWC 1.0

Get the total of all cart tax discounts (used for discounts on tax inclusive prices).

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

Хуков нет.

Возвращает

float.

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

$WC_Legacy_Cart = new WC_Legacy_Cart();
$WC_Legacy_Cart->get_cart_discount_tax_total();

Код WC_Legacy_Cart::get_cart_discount_tax_total() WC 8.7.0

public function get_cart_discount_tax_total() {
	return $this->get_discount_tax();
}