ActionScheduler_Abstract_QueueRunner::run()
Process actions in the queue.
Метод класса: ActionScheduler_Abstract_QueueRunner{}
Хуков нет.
Возвращает
int
. The number of actions processed.
Использование
$ActionScheduler_Abstract_QueueRunner = new ActionScheduler_Abstract_QueueRunner(); $ActionScheduler_Abstract_QueueRunner->run( $context );
- $context(строка)
- 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.
По умолчанию: ''
Код ActionScheduler_Abstract_QueueRunner::run() ActionScheduler Abstract QueueRunner::run WC 9.3.1
abstract public function run( $context = '' );