ActionScheduler_WPCLI_QueueRunner
WP CLI Queue runner.
Description Description
This class can only be called from within a WP CLI instance.
Source Source
File: packages/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_QueueRunner.php
Methods Methods
- __construct — ActionScheduler_WPCLI_QueueRunner constructor.
- action_failed — Handle WP CLI message when the action has failed.
- add_hooks — Add our hooks to the appropriate actions.
- after_execute — Handle WP CLI message when the action has completed.
- before_execute — Handle WP CLI message when the action is starting.
- maybe_stop_the_insanity — Maybe trigger the stop_the_insanity() method to free up memory.
- run — Process actions in the queue.
- setup — Set up the Queue before processing.
- setup_progress_bar — Set up the WP CLI progress bar.
- stop_the_insanity — Sleep and help avoid hitting memory limit — deprecated