Adding wp_unschedule_hook function
|Reported by:||arena||Owned by:||arena|
|Component:||Cron API||Keywords:||has-patch needs-testing|
Unschedule all previously scheduled cron job for a hook.
Can be usefull for plugins when deactivating to clean up the cron queue
The $hook parameter is required, so that the events can be identified.
@param string $hook Action hook, the execution of which will be unscheduled.
Change History (28)
comment:17 @nacin — 4 years ago
- Keywords needs-unit-tests added
comment:19 @Viper007Bond — 3 years ago
- Resolution maybelater deleted
- Status changed from closed to reopened