edd_is_discount_maxed_out( int $code_id = null, bool $set_error = true )

Is Discount Maxed Out.


Description Description


Parameters Parameters

$code_id

(Optional) Discount ID.

Default value: null

$set_error

(Optional) Whether an error message be set in session.

Default value: true


Top ↑

Return Return

(bool) Is discount maxed out?


Top ↑

Source Source

File: includes/discount-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.7 Updated to use EDD_Discount object.
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.