Modify an event before it is scheduled.
$eventobject|false
hook stringtimestamp intschedule string|falseargs arrayinterval int$event being scheduled.wp_version_check, wp_update_plugins, wp_update_themes, wp_schedule_delete, and (for the main site of multisite installs only) wp_update_network_counts.publish_future_post, do_pings, importer_scheduled_cleanup.$event = apply_filters( 'schedule_event', $event );
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/schedule_event