ActionScheduler_Abstract_QueueRunner::run( string $context = '' )
Process actions in the queue.
Description Description
Parameters Parameters
- $context
-
(Optional) identifer 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 value: ''
Return Return
(int) The number of actions processed.
Source Source
File: packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php