wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_next_scheduled › WordPress Filter Hooks

Seit6.8.0
Veraltetn/v
apply_filters( 'wp_next_scheduled', $next_event->timestamp, $next_event, $hook, $args )
Parameter: (3)
  • (int) $timestamp Unix timestamp (UTC) for when to next run the event.
    Erforderlich: Ja
  • (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. }
    Erforderlich: Ja
  • (array) $args Array containing each separate argument to pass to the hook callback function.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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