WordPress at Your Fingertips
function is not described

ActionScheduler_Abstract_QueueRunner::schedule_next_instance() protected WC 1.0

Schedule the next instance of the action if necessary.

{} It's a method of the class: ActionScheduler_Abstract_QueueRunner{}

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->schedule_next_instance( $action, $action_id );
$action(ActionScheduler_Action) (required)
-
$action_id(int) (required)
-

Code of ActionScheduler_Abstract_QueueRunner::schedule_next_instance() WC 6.1.1

protected function schedule_next_instance( ActionScheduler_Action $action, $action_id ) {
	try {
		ActionScheduler::factory()->repeat( $action );
	} catch ( Exception $e ) {
		do_action( 'action_scheduler_failed_to_schedule_next_instance', $action_id, $e, $action );
	}
}