wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_get_ready_cron_jobs › WordPress Filter Hooks

Since5.1.0
Deprecatedn/a
apply_filters( 'pre_get_ready_cron_jobs', null )
Parameters:
  • (null|array[]) $pre Array of ready cron tasks to return instead. Default null to continue using results from _get_cron_array().
    Required: Yes
Defined at:
Codex:

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.





Source

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