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


Top ↑

Source Source

File: packages/action-scheduler/deprecated/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.