pre_get_scheduled_event
最后更新于:2021-11-27 18:49:32
apply_filters( ‘pre_get_scheduled_event’, null|false|object $pre, string $hook, array $args, int|null $timestamp )
Filter to preflight or hijack retrieving a scheduled event.
参数
- $pre
-
(null|false|object)
Value to return instead. Default null to continue retrieving the event. - $hook
-
(string)
Action hook of the event. - $args
-
(array)
Array containing each separate argument to pass to the hook’s callback function. Although not passed to a callback, these arguments are used to uniquely identify the event. - $timestamp
-
(int|null)
Unix timestamp (UTC) of the event. Null to retrieve next scheduled event.
源文件
文件: gc-includes/cron.php