wpseek.com
WordPress开发者和主题制作者的搜索引擎
pre_unschedule_event › WordPress过滤钩子
Since5.7.0
已弃用n/a
› apply_filters( 'pre_unschedule_event', null, $timestamp, $hook, $args, $wp_error )
参数: (5) |
|
定义在: |
|
文档: |
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