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.
hookstringAction hook of the event.timestampintUnix timestamp (UTC) for when to next run the event.schedulestringHow often the event should subsequently recur.argsarrayArray containing each separate argument to pass to the hook callback function.intervalintOptional. 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.
Source
return apply_filters( 'wp_next_scheduled', $next_event->timestamp, $next_event, $hook, $args );
Changelog
| Version | Description |
|---|---|
| 6.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.