[wp-trac] [WordPress Trac] #35491: Add a function to check whether a hook is scheduled

WordPress Trac noreply at wordpress.org
Fri Feb 19 17:37:45 UTC 2016


#35491: Add a function to check whether a hook is scheduled
---------------------------------------------+------------------
 Reporter:  dlh                              |       Owner:
     Type:  enhancement                      |      Status:  new
 Priority:  normal                           |   Milestone:  4.5
Component:  Cron API                         |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+------------------
Changes (by swissspidy):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests commit


Comment:

 We're getting closer to the enhancement and feature request deadline, so I
 guess it's decision time.

 I still think that extending `wp_next_scheduled_event()` is the more
 straightforward and DRY solution. Patch still applies cleanly.

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


More information about the wp-trac mailing list