wpseek.com
WordPress开发者和主题制作者的搜索引擎



pre_get_ready_cron_jobs › WordPress过滤钩子

Since5.1.0
已弃用n/a
apply_filters( 'pre_get_ready_cron_jobs', null )
参数:
  • (null|array[]) $pre Array of ready cron tasks to return instead. Default null to continue using results from _get_cron_array().
    Required: Yes
定义在:
文档:

Filter to override retrieving ready cron jobs.

Returning an array will short-circuit the normal retrieval of ready cron jobs, causing the function to return the filtered value instead.





源码

$pre = apply_filters( 'pre_get_ready_cron_jobs', null );