#45797 closed enhancement (fixed)
Add function for getting "ready" cron jobs with preflight filter for hijacking.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Cron API | Keywords: | has-patch has-dev-note |
Focuses: | Cc: |
Description
Add the function wp_get_ready_cron_jobs()
to return jobs ready to be run (with a timestamp in the past) with a preflight filter to allow plugins to use a custom cron storage mechanism.
This is to round out the functionality of #32656 to allow custom cron storage while making use of Core's system for spawning jobs.
Attachments (2)
Change History (7)
#2
@
6 years ago
- Owner set to peterwilsoncc
- Status changed from new to assigned
45797.2.diff adds @since
tags to the docblocks following Pento's code review and commit approval.
#5
@
5 years ago
- Keywords has-dev-note added; needs-dev-note removed
This was detailed in the following dev note: https://make.wordpress.org/core/2019/01/23/cron-api-changes-in-wordpress-5-1/
Note: See
TracTickets for help on using
tickets.
This is fine to commit to finish off #32656.