LLMS_Order::unschedule_expiration()
Cancels a scheduled expiration action
Description Description
Does nothing if no expiration is scheduled
Return Return
(void)
Source Source
File: includes/models/model.llms.order.php
public function unschedule_expiration() { if ( as_next_scheduled_action( 'llms_access_plan_expiration', $this->get_action_args() ) ) { as_unschedule_action( 'llms_access_plan_expiration', $this->get_action_args() ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.32.0 | Update to use latest action-scheduler functions. |
3.19.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: