WordPress at Your Fingertips
function is not described

WC_Cart::get_applied_coupons() public WC 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 5.6.0

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