Adding wp_unschedule_hook function
|Reported by:||arena||Owned by:||chriscct7|
|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 (32)
- Keywords needs-unit-tests added
3 months ago
- Owner changed from arena to chriscct7
- Status changed from reopened to reviewing