LLMS_Access_Plan::can_expire()
Determine if the access plan has expiration settings
Contents
Return Return
(boolean) true if it can expire, false if it's for lifetime access
Source Source
File: includes/models/model.llms.access.plan.php
public function can_expire() { return ( 'lifetime' !== $this->get( 'access_expiration' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |