wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_next_scheduled › Filtr WordPress Hooks

Od6.8.0
Przestarzałyn/a
› apply_filters( 'wp_next_scheduled', $next_event->timestamp, $next_event, $hook, $args )
Parametry: (4)
  • () timestamp Unix timestamp (UTC) for when to next run the event.
    Wymagane: Tak
  • () 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. }
    Wymagane: Tak
  • () hook Action hook of the event.
    Wymagane: Tak
  • () args Array containing each separate argument to pass to the hook callback function.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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