ActionScheduler_Abstract_QueueRunner::run
Process actions in the queue.
Method of the class: ActionScheduler_Abstract_QueueRunner{}
No Hooks.
Returns
Int. The number of actions processed.
Usage
$ActionScheduler_Abstract_QueueRunner = new ActionScheduler_Abstract_QueueRunner(); $ActionScheduler_Abstract_QueueRunner->run( $context );
- $context(string)
- Optional identifier for the context in which this action is being processed, e.g.
'WP CLI'or'WP Cron'Generally, this should be capitalised and not localised as it's a proper noun.
Default:''
ActionScheduler_Abstract_QueueRunner::run() ActionScheduler Abstract QueueRunner::run code WC 10.7.0
abstract public function run( $context = '' );