[wp-trac] [WordPress Trac] #52655: Ability to Change the wp_next_scheduled() function output.
WordPress Trac
noreply at wordpress.org
Tue Mar 25 02:04:52 UTC 2025
#52655: Ability to Change the wp_next_scheduled() function output.
------------------------------------------+--------------------------
Reporter: infosatech | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.8
Component: Cron API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch add-to-field-guide | Focuses:
------------------------------------------+--------------------------
Changes (by peterwilsoncc):
* keywords: has-patch => has-patch add-to-field-guide
Comment:
@jeffpaul, as discussed in Slack I think it would be good to include this
as a short note in the field guide:
> Introduce a new filter of the same name to `wp_next_scheduled()`. This
allows plugin developers to modify the timestamp of the next scheduled
event for a given wp-cron job. The full event object, hook name and
arguments are provided as additional arguments for this filter.
Feel free to edit for length or clarity if you wish.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52655#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list