Filters the timestamp of the next scheduled event for the given hook.
Parameters
$timestampint
Unix timestamp (UTC) for when to next run the event.
$next_eventobject
{ An object containing an event's data. @type string $hook Action hook of the event. @type int $timestamp Unix timestamp (UTC) for when to next run the event. @type string $schedule How often the event should subsequently recur. @type array $args Array containing each separate argument to pass to the hook callback function. @type int $interval Optional. The interval time in seconds for the schedule. Only present for recurring events.}
$hookstring
Action hook of the event.
$timestampint
Unix timestamp (UTC) for when to next run the event.
$schedulestring
How often the event should subsequently recur.
$argsarray
Array containing each separate argument to pass to the hook callback function.
$intervalint
Optional. The interval time in seconds for the schedule. Only present for recurring events.
$argsarray
Array containing each separate argument to pass to the hook callback function.
853* @type int$interval Optional. The interval time in seconds for the schedule. Only854* present for recurring events.855*}856* @param array$argsArray containing each separate argument to pass to the hook857* callback function.858*/859returnapply_filters('wp_next_scheduled',$next_event->timestamp,$next_event,$hook,$args);860}861862/**863* Sends a request to run cron through HTTP request that doesn't halt page loading.864*865* @since 2.1.0
History
Introduced in 6.8.0. One change between 6.8.8 and 7.1.0.