[wp-trac] [WordPress Trac] #18997: Adding wp_unschedule_hook function

WordPress Trac noreply at wordpress.org
Wed Sep 17 16:26:28 UTC 2014


#18997: Adding wp_unschedule_hook function
-------------------------------------+-----------------------------
 Reporter:  arena                    |       Owner:  arena
     Type:  feature request          |      Status:  reopened
 Priority:  normal                   |   Milestone:  Future Release
Component:  Cron API                 |     Version:  3.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by jpswade):

 Had a problem today where I accidentally scheduled the function that adds
 the schedule.

 Although I spotted and fixed the error, it was impossible to remove the
 hook without this function.

 http://wordpress.stackexchange.com/questions/39681/delete-all-scheduled-
 events-with-a-particular-hook

 This case here outlines the same issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18997#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list