pre_unschedule_hook

最后更新于:2021-11-27 20:26:14

apply_filters( ‘pre_unschedule_hook’, null|int|false|GC_Error $pre, string $hook, bool $gc_error )

Filter to preflight or hijack clearing all events attached to the hook.

参数

$pre

(null|int|false|GC_Error)
Value to return instead. Default null to continue unscheduling the hook.

$hook

(string)
Action hook, the execution of which will be unscheduled.

$gc_error

(bool)
Whether to return a GC_Error on failure.

源文件

文件: gc-includes/cron.php

View on Trac