$hook
$hook : string
Action's hook.
Class ActionScheduler_CanceledAction
Stored action which was canceled and therefore acts like a finished action but should always return a null schedule, regardless of schedule passed to its constructor.
$hook : string
Action's hook.
$args : array<string,mixed>
Action's args.
$schedule : \ActionScheduler_Schedule
Action's schedule.
$group : string
Action's group.
$priority : int
Priorities are conceptually similar to those used for regular WordPress actions.
Like those, a lower priority takes precedence over a higher priority and the default is 10.
Unlike regular WordPress actions, the priority of a scheduled action is strictly an integer and should be kept within the bounds 0-255 (anything outside the bounds will be brought back into the acceptable range).
execute() : mixed
Executes the action.
If no callbacks are registered, an exception will be thrown and the action will not be fired. This is useful to help detect cases where the code responsible for setting up a scheduled action no longer exists.
If no callbacks are registered for this action.
__construct(string $hook, array $args = array(), null|\ActionScheduler_Schedule $schedule = null, string $group = '') : mixed
Construct.
string | $hook | Action's hook. |
array | $args | Action's arguments. |
null|\ActionScheduler_Schedule | $schedule | Action's schedule. |
string | $group | Action's group. |