wpseek.com
A WordPress-centric search engine for devs and theme authors
pre_unschedule_event › WordPress Filter Hooks
Since5.7.0
Deprecatedn/a
› apply_filters( 'pre_unschedule_event', null, $timestamp, $hook, $args, $wp_error )
Parameters: (5) |
|
Defined at: |
|
Codex: |
Filter to override unscheduling of events.
Returning a non-null value will short-circuit the normal unscheduling process, causing the function to return the filtered value instead.
For plugins replacing wp-cron, return true if the event was successfully unscheduled, false or a WP_Error if not.
Related Functions: wp_unschedule_event, wp_reschedule_event, wp_schedule_event, wp_get_scheduled_event, wp_schedule_single_event, wp_scheduled_delete