get_stored_action()
get_stored_action(string $status, string $hook, array $args = array(), \ActionScheduler_Schedule $schedule = null, string $group = '') : \ActionScheduler_Action
Return stored actions for given params.
Parameters
string | $status | The action's status in the data store. |
string | $hook | The hook to trigger when this action runs. |
array | $args | Args to pass to callbacks when the hook is triggered. |
\ActionScheduler_Schedule | $schedule | The action's schedule. |
string | $group | A group to put the action in. phpcs:ignore Squiz.Commenting.FunctionComment.ExtraParamComment |
Returns
\ActionScheduler_Action —An instance of the stored action.