Warning: This function has been deprecated.
wc_unschedule_action( string $hook, array $args = array(), string $group = '' )
Cancel the next occurrence of a job.
Description Description
Parameters Parameters
- $hook
-
(Required) The hook that the job will trigger
- $args
-
(Optional) Args that would have been passed to the job
Default value: array()
- $group
-
(Optional)
Default value: ''
Source Source
File: packages/action-scheduler/deprecated/functions.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |