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.


null. Nothing.


wc_unschedule_action( $hook, $args, $group );
$hook(string) (required)
The hook that the job will trigger
Args that would have been passed to the job
Default: array()
Default: ''


Deprecated since 2.1.0

wc_unschedule_action() code WC 7.3.0

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