ActionScheduler_Abstract_QueueRunner::process_action( int $action_id, string $context = '' )
Process an individual action.
Description Description
Parameters Parameters
- $action_id
-
(Required) The action ID to process.
- $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: ''
Source Source
File: packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php