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

Handle async requests

Run a queue, and maybe dispatch another async request to run another queue if there are still pending actions after completing a queue in this request.

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

add_action( 'action_scheduler_run_queue', 'wp_kama_action_scheduler_run_queue_action' );

/**
 * Function for `action_scheduler_run_queue` action-hook.
 * 
 * @param  $string 
 *
 * @return void
 */
function wp_kama_action_scheduler_run_queue_action( $string ){

	// action...
}
$string
-

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

ActionScheduler_AsyncRequest_QueueRunner::handle()
action_scheduler_run_queue
woocommerce/packages/action-scheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php 52
do_action( 'action_scheduler_run_queue', 'Async Request' ); // run a queue in the same way as WP Cron, but declare the Async Request context

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

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