WC_Cart::get_applied_coupons()publicWC 1.0

Gets the array of applied coupon codes.

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

No Hooks.

Return

Array. of applied coupons

Usage

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

Code of WC_Cart::get_applied_coupons() WC 6.6.1

public function get_applied_coupons() {
	return (array) $this->applied_coupons;
}