action_scheduler_failed_to_schedule_next_instance хук-событиеWC 1.0

Использование

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
-

Где вызывается хук

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 );

Где используется хук в 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 );