pre_clear_scheduled_hook
最后更新于:2021-11-27 18:44:38
apply_filters( ‘pre_clear_scheduled_hook’, null|int|false|GC_Error $pre, string $hook, array $args, bool $gc_error )
Filter to preflight or hijack clearing a scheduled hook.
参数
- $pre
-
(null|int|false|GC_Error)
Value to return instead. Default null to continue unscheduling the event. - $hook
-
(string)
Action hook, the execution of which will be unscheduled. - $args
-
(array)
Arguments to pass to the hook’s callback function. - $gc_error
-
(bool)
Whether to return a GC_Error on failure.
源文件
文件: gc-includes/cron.php