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

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

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
-

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

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

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