LLMS_Order::unschedule_expiration()

Cancels a scheduled expiration action


Description Description

Does nothing if no expiration is scheduled


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/models/model.llms.order.php

	public function unschedule_expiration() {

		if ( $this->get_next_scheduled_action_time( 'llms_access_plan_expiration' ) ) {
			as_unschedule_action( 'llms_access_plan_expiration', $this->get_action_args() );
		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Use $this->get_next_scheduled_action_time() to determine if the action is currently scheduled.
3.32.0 Update to use latest action-scheduler functions.
3.19.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.