LLMS_Controller_Orders::expire_access( int $order_id )
Handle expiration & cancellation from a course / membership
Description Description
Called via scheduled action set during order completion for plans with a limited access plan. Additionally called when an order is marked as "pending-cancel" to revoke access at the end of a pre-paid period.
Parameters Parameters
- $order_id
-
(Required) WP Post ID of the LLMS Order.
Return Return
(void)
Source Source
File: includes/controllers/class.llms.controller.orders.php
Changelog Changelog
Version | Description |
---|---|
3.19.0 | Unknown. |
3.0.0 | Introduced. |