wc_unschedule_action()WC 1.0

Deprecated from version 2.1.0. It is no longer supported and can 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.

Return

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

Changelog

Deprecated since 2.1.0

wc_unschedule_action() code WC 8.7.0

function wc_unschedule_action( $hook, $args = array(), $group = '' ) {
	_deprecated_function( __FUNCTION__, '2.1.0', 'as_unschedule_action()' );
	as_unschedule_action( $hook, $args, $group );
}