You appear to be a bot. Output may be restricted
Description
Schedule the next instance of the action if necessary.
Usage
ActionScheduler_Abstract_QueueRunner::schedule_next_instance( $action, $action_id );
Parameters
- $action
- ( ActionScheduler_Action ) required –
- $action_id
- ( int ) required –
Returns
void
Source
File name: woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php
Lines:
1 to 8 of 8
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 ); } }