Filter hook 'pre_get_ready_cron_jobs'
in WP Core File wp-includes/cron.php at line 1174
Description
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.
Occurrences
Filename |
Line Number |
wp-includes/cron.php |
1174 |
Parameters
Type |
Name |
Description |
null|array[] |
$pre |
Array of ready cron tasks to return instead. Default null to continue using results from _get_cron_array(). |
PHP Doc
/**
* 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.
*
* @since 5.1.0
*
* @param null|array[] $pre Array of ready cron tasks to return instead. Default null
* to continue using results from _get_cron_array().
*/