ActionScheduler_ActionFactory::get_stored_action( string $status, string $hook, array $args = array(), ActionScheduler_Schedule $schedule = null, string $group = '' )
Description Description
Parameters Parameters
- $status
-
(Required) The action's status in the data store
- $hook
-
(Required) The hook to trigger when this action runs
- $args
-
(Optional) Args to pass to callbacks when the hook is triggered
Default value: array()
- $schedule
-
(Optional) The action's schedule
Default value: null
- $group
-
(Optional) A group to put the action in
Default value: ''
Return Return
(ActionScheduler_Action) An instance of the stored action
Source Source
File: packages/action-scheduler/classes/ActionScheduler_ActionFactory.php