wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_next_scheduled › WordPress Filter Hooks

Since6.8.0
Deprecatedn/a
apply_filters( 'wp_next_scheduled', $next_event->timestamp, $next_event, $hook, $args )
Parameters: (3)
  • (int) $timestamp Unix timestamp (UTC) for when to next run the event.
    Required: Yes
  • (object) $next_event { 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. }
    Required: Yes
  • (array) $args Array containing each separate argument to pass to the hook callback function.
    Required: Yes
Defined at:
Codex:

Filters the timestamp of the next scheduled event for the given hook.





Source

return apply_filters( 'wp_next_scheduled', $next_event->timestamp, $next_event, $hook, $args );