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: ''


Top ↑

Return Return

(int) The number of actions processed.


Top ↑

Source Source

File: packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.