[wp-trac] [WordPress Trac] #18997: Adding wp_unschedule_hook function
WordPress Trac
noreply at wordpress.org
Fri Jun 30 00:21:51 UTC 2017
#18997: Adding wp_unschedule_hook function
--------------------------------------+------------------------
Reporter: arena | Owner: chriscct7
Type: feature request | Status: closed
Priority: normal | Milestone: 4.9
Component: Cron API | Version: 3.3
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"40965"]:
{{{
#!CommitTicketReference repository="" revision="40965"
Cron API: Introduce `wp_unschedule_hook()` to clear all events attached to
a hook.
This complements `wp_clear_scheduled_hook()`, which only clears events
attached with specific arguments.
Props arena, mordauk, jrf.
Fixes #18997.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18997#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list