action_scheduler_failed_to_schedule_next_instance action-hookWC 1.0

Usage

add_action( 'action_scheduler_failed_to_schedule_next_instance', 'wp_kama_action_scheduler_failed_to_schedule_next_instance_action', 10, 3 );

/**
 * Function for `action_scheduler_failed_to_schedule_next_instance` action-hook.
 * 
 * @param  $action_id 
 * @param  $e         
 * @param  $action    
 *
 * @return void
 */
function wp_kama_action_scheduler_failed_to_schedule_next_instance_action( $action_id, $e, $action ){

	// action...
}
$action_id
-
$e
-
$action
-

Where the hook is called

ActionScheduler_Abstract_QueueRunner::schedule_next_instance()
action_scheduler_failed_to_schedule_next_instance
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php 164
do_action( 'action_scheduler_failed_to_schedule_next_instance', $action_id, $e, $action );

Where the hook is used in WooCommerce

woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Logger.php 59
add_action( 'action_scheduler_failed_to_schedule_next_instance', array( $this, 'log_failed_schedule_next_instance' ), 10, 2 );