WordPress at Your Fingertips
filter is not described

pre_get_ready_cron_jobs filter-hook . WP 5.1.0

Filter to preflight or hijack 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.


add_filter( 'pre_get_ready_cron_jobs', 'filter_function_name_4164' );
function filter_function_name_4164( $pre ){
	// filter...

	return $pre;
Array of ready cron tasks to return instead.
Default: null to continue using results from _get_cron_array()


Since 5.1.0 Introduced.

Where the hook is called

wp-includes/cron.php 1122
$pre = apply_filters( 'pre_get_ready_cron_jobs', null );

Where in WP core the hook is used WordPress

Usage not found.