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

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 19 13:41:49 UTC 2011


#18997: Adding wp_unschedule_hook function
------------------------------------+------------------------------
 Reporter:  arena                   |       Owner:  arena
     Type:  feature request         |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Cron                    |     Version:  3.3
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------------------

Comment (by dd32):

 > Isn't that what wp_clear_scheduled_hook() already does?

 That clears by hook + args, It's common place to hook multiple "instances"
 of a job with varying parameters (ie. Post ID to process) to a single
 hook, there's no API to clear all events for that hook at present. I've
 seen this requested before, it might be on trac, or elsewhere, I'm not
 sure.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18997#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list