EDD_Discount::is_expired( bool $update = true )
Check if the discount has expired.
Description Description
Parameters Parameters
- $update
-
(Optional) Update the discount to expired if an one is found but has an active status
Default value: true
Return Return
(bool) Has the discount expired?
Source Source
File: includes/class-edd-discount.php
Changelog Changelog
| Version | Description |
|---|---|
| 2.7 | Introduced. |