WC_Cart::get_coupon_discount_totals() public WC 3.2.0
Return all calculated coupon totals.
{} Это метод класса: WC_Cart{}
Хуков нет.
Возвращает
Массив.
Использование
$WC_Cart = new WC_Cart(); $WC_Cart->get_coupon_discount_totals();
Список изменений
С версии 3.2.0 | Введена. |
Код WC_Cart::get_coupon_discount_totals() WC Cart::get coupon discount totals WC 5.0.0
public function get_coupon_discount_totals() {
return (array) $this->coupon_discount_totals;
}