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


Top ↑

Return Return

(bool) Has the discount expired?


Top ↑

Source Source

File: includes/class-edd-discount.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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