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

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

add_action( 'action_scheduler_after_process_queue', 'wp_kama_action_scheduler_after_process_queue_action' );

/**
 * Function for `action_scheduler_after_process_queue` action-hook.
 * 
 * @return void
 */
function wp_kama_action_scheduler_after_process_queue_action(){

	// action...
}

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

ActionScheduler_QueueRunner::run()
action_scheduler_after_process_queue
ActionScheduler_WPCLI_QueueRunner::run()
action_scheduler_after_process_queue

Где используется хук в WooCommerce

woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpCommentLogger.php 220
add_action( 'action_scheduler_after_process_queue', array( $this, 'enable_comment_counting' ), 10, 0 );