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

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 19 07:45:12 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           |   Keywords:  dev-feedback has-patch
-----------------------------+------------------------------------
 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.

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


More information about the wp-trac mailing list