cancel()
cancel(array $args, array $assoc_args) : void
Cancel the next occurrence or all occurrences of a scheduled action.
OPTIONS
[<hook>] : Name of the action hook.
[--group=<group>] : The group the job is assigned to.
[--args=<args>] : JSON object of arguments assigned to the job.
default: []
[--all] : Cancel all occurrences of a scheduled action.
Parameters
array | $args | Positional arguments. |
array | $assoc_args | Keyed arguments. |