[wp-trac] [WordPress Trac] #32656: Add hooks to allow hijacking cron implementation
WordPress Trac
noreply at wordpress.org
Thu Jun 18 04:11:10 UTC 2015
#32656: Add hooks to allow hijacking cron implementation
-----------------------------+------------------------------
Reporter: rmccue | Owner: rmccue
Type: feature request | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Cron API | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+------------------------------
Changes (by rmccue):
* keywords: => has-patch
* owner: => rmccue
* status: new => assigned
Comment:
Added patch to add the following:
* `pre_schedule_event` - Hijack hook for `wp_schedule_single_event` and
`wp_schedule_event`
* `pre_reschedule_event` - Hijack hook for `wp_reschedule_event`
* `pre_unschedule_event` - Hijack hook for `wp_unschedule_event`
* `pre_clear_scheduled_hook` - Hijack hook for `wp_clear_scheduled_hook`
* `next_scheduled` - Filter on return value for `wp_next_scheduled`
* `get_schedule` - Filter on return value for `wp_get_schedule`
(In the process, I did some minor formatting changes, but no real
functional changes.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32656#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list