|wp-includes/cron.php: wp_schedule_event()|| |
Schedules a recurring event.
|wp-includes/cron.php: wp_schedule_single_event()|| |
Schedules an event to run only once.
Modify an event before it is scheduled.
(stdClass|false) An object containing an event's data, or boolean false to prevent the event from being scheduled.
(string) Action hook to execute when the event is run.
(int) Unix timestamp (UTC) for when to next run the event.
(string|false) How often the event should subsequently recur.
(array) Array containing each separate argument to pass to the hook's callback function.
(int) The interval time in seconds for the schedule. Only present for recurring events.
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.