action_scheduler_execution_ignored action-hookWC 1.0

Usage

add_action( 'action_scheduler_execution_ignored', 'wp_kama_action_scheduler_execution_ignored_action', 10, 2 );

/**
 * Function for `action_scheduler_execution_ignored` action-hook.
 * 
 * @param  $action_id 
 * @param  $context   
 *
 * @return void
 */
function wp_kama_action_scheduler_execution_ignored_action( $action_id, $context ){

	// action...
}
$action_id
-
$context
-

Where the hook is called

ActionScheduler_Abstract_QueueRunner::process_action()
action_scheduler_execution_ignored
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php 79
do_action( 'action_scheduler_execution_ignored', $action_id, $context );

Where the hook is used in WooCommerce

woocommerce/packages/action-scheduler/classes/ActionScheduler_FatalErrorMonitor.php 22
add_action( 'action_scheduler_execution_ignored', array( $this, 'untrack_action' ), 0, 0 );
woocommerce/packages/action-scheduler/classes/ActionScheduler_FatalErrorMonitor.php 32
remove_action( 'action_scheduler_execution_ignored', array( $this, 'untrack_action' ), 0 );
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Logger.php 57
add_action( 'action_scheduler_execution_ignored', array( $this, 'log_ignored_action' ), 10, 2 );