LLMS_Order::get_access_status()
Get the current status of a student’s access based on the access plan data stored on the order at the time of purchase
Description Description
Return Return
(string) 'inactive' if the order is refunded, failed, pending, etc... 'expired' if access has expired according to $this->get_access_expiration_date() 'active' otherwise
Source Source
File: includes/models/model.llms.order.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |