Filter to override rescheduling of a recurring event.
Returning a non-null value will short-circuit the normal rescheduling process, causing the function to return the filtered value instead.
For plugins replacing wp-cron, return true if the event was successfully rescheduled, false or a WP_Error if not.
$prenull|bool|WP_Error
$eventobject
hook stringtimestamp intschedule stringargs arrayinterval int$wp_errorbool
$pre = apply_filters( 'pre_reschedule_event', null, $event, $wp_error );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_reschedule_event