wc_unschedule_action()
Deprecated since 2.1.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Cancel the next occurrence of a job.
No Hooks.
Returns
null. Nothing (null).
Usage
wc_unschedule_action( $hook, $args, $group );
- $hook(string) (required)
- The hook that the job will trigger.
- $args(array)
- Args that would have been passed to the job.
Default:array() - $group(string)
- Action's group.
Default:''
Changelog
| Deprecated since | 2.1.0 |
wc_unschedule_action() wc unschedule action code WC 10.6.2
function wc_unschedule_action( $hook, $args = array(), $group = '' ) {
_deprecated_function( __FUNCTION__, '2.1.0', 'as_unschedule_action()' );
as_unschedule_action( $hook, $args, $group );
}