diff --git src/wp-includes/cron.php src/wp-includes/cron.php
index 8ecb43347f..db3fc51601 100644
|
|
function wp_schedule_event( $timestamp, $recurrence, $hook, $args = array() ) { |
197 | 197 | /** |
198 | 198 | * Reschedules a recurring event. |
199 | 199 | * |
| 200 | * Mainly for internal use, this takes the time stamp of a previously run |
| 201 | * recurring event and reschedules it for its next run. |
| 202 | * |
| 203 | * To change upcoming scheduled events, use {@see wp_schedule_event} to |
| 204 | * change the recurrence frequency. |
| 205 | * |
200 | 206 | * @since 2.1.0 |
201 | 207 | * @since 5.0.0 Return value modified to boolean indicating success or failure, |
202 | 208 | * {@see pre_reschedule_event} filter added to short-circuit the function. |
203 | 209 | * |
204 | | * @param int $timestamp Unix timestamp (UTC) for when to next run the event. |
| 210 | * @param int $timestamp Unix timestamp (UTC) for when the event was scheduled. |
205 | 211 | * @param string $recurrence How often the event should subsequently recur. See wp_get_schedules() for accepted values. |
206 | 212 | * @param string $hook Action hook to execute when the event is run. |
207 | 213 | * @param array $args Optional. Array containing each separate argument to pass to the hook's callback function. |