Description
Display content if date hasn’t arrived yet.
Description
Example usage:
[memb_expires until="august 23, 2015"]
Display if date hasn't arrived
[/memb_expires]Display for event reminders or info about release dates.
[memb_expires until="august 23, 2015"]
Don't miss your chance to register for our webinar this Wednesday!
[/memb_expires]Parameter:
until (required) a strtotime compatible date description
This shortcode is not nestable
The function expects to be given a string containing an English date format and will try to parse that format. Each parameter of this function uses the default time zone unless a time zone is specified in that parameter. Be careful not to use different time zones in each parameter unless that is intended. See date_default_timezone_get() on the various ways to define the default time zone.
Shortcode Attributes
| Conditional | Yes |
|---|---|
| Nestable | No |
| Accepts formatting | No |
| Capturable | No |