WordPress at Your Fingertips
function is not described

WC_Cart::get_coupon_discount_tax_totals() public WC 3.2.0

Return all calculated coupon tax totals.

{} It's a method of the class: WC_Cart{}

No Hooks.

Return

Array.

Usage

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

Changelog

Since 3.2.0 Introduced.

Code of WC_Cart::get_coupon_discount_tax_totals() WC 5.7.0

public function get_coupon_discount_tax_totals() {
	return (array) $this->coupon_discount_tax_totals;
}