WordPress at a glance
filter is not described

pre_get_scheduled_event filter-hook . WP 5.1.0

Filter to preflight or hijack retrieving a scheduled event.

Returning a non-null value will short-circuit the normal process, returning the filtered value instead.

Return false if the event does not exist, otherwise an event object should be returned.

Usage

add_filter( 'pre_get_scheduled_event', 'filter_function_name_3028', 10, 4 );
function filter_function_name_3028( $pre, $hook, $args, $timestamp ){
	// filter...

	return $pre;
}
$pre(null/true/false)
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.

Where the hook is called

wp_get_scheduled_event()
pre_get_scheduled_event
wp-includes/cron.php 552
$pre = apply_filters( 'pre_get_scheduled_event', null, $hook, $args, $timestamp );

Where the hook is used (in WP core)

Использование не найдено.