WC_Cart::increase_coupon_applied_count PHP Method

increase_coupon_applied_count() private method

Store how many times each coupon is applied to cart/items.
private increase_coupon_applied_count ( string $code, integer $count = 1 )
$code string
$count integer
    private function increase_coupon_applied_count($code, $count = 1)
    {
        if (empty($this->coupon_applied_count[$code])) {
            $this->coupon_applied_count[$code] = 0;
        }
        $this->coupon_applied_count[$code] += $count;
    }
WC_Cart