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


Top ↑

Return Return

(ActionScheduler_Action) An instance of the stored action


Top ↑

Source Source

File: packages/action-scheduler/classes/ActionScheduler_ActionFactory.php


			


Top ↑

User Contributed Notes User Contributed Notes

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