apply_filters( 'schedule_event', stdClass $event )
Filters a single event before it is scheduled.
Parameters
- $event
-
(stdClass) 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. Seewp_get_schedules()
. - 'args'
(array) Arguments to pass to the hook's callback function.
- 'hook'
Source
File: wp-includes/cron.php
Changelog
Version | Description |
---|---|
WP-3.1.0 | Introduced. |