action_scheduler_run_queue action-hook . 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.
Usage
add_action( 'action_scheduler_run_queue', 'action_function_name_8647' ); function action_function_name_8647( $string ){ // action... }
- $string
- -
Where the hook is called
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