apply_filters( 'schedule_event', stdClass $event )

Filters a single event before it is scheduled.


Parameters

$event

An object containing an event's data.

  • 'hook'
    (string) Action hook to execute when event is run.
  • 'timestamp'
    (int) Unix timestamp (UTC) for when to run the event.
  • 'schedule'
    (string|false) How often the event should recur. See wp_get_schedules().
  • 'args'
    (array) Arguments to pass to the hook's callback function.


Source

File: wp-includes/cron.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.1.0 Introduced.