wp_reschedule_event ( $timestamp, $recurrence, $hook, $args = array(), $wp_error = false )

  • (int) timestamp Unix timestamp (UTC) for when the event was scheduled.
  • (string) recurrence How often the event should subsequently recur. See wp_get_schedules() for accepted values.
  • (string) hook Action hook to execute when the event is run.
  • (array) args Optional. Array containing arguments to pass to the hook's callback function. Each value in the array is passed to the callback as an individual parameter. The array keys are ignored. Default empty array.
  • (bool) wp_error Optional. Whether to return a WP_Error on failure. Default false.
  • (bool|WP_Error) True if event successfully rescheduled. False or WP_Error on failure.
Defined at:
Change Log:
  • 5: .
  • 5: .


Reschedules a recurring event.Mainly for internal use, this takes the time stamp of a previously run recurring event and reschedules it for its next run. To change upcoming scheduled events, use wp_schedule_event() to change the recurrence frequency.

Related Functions

wp_schedule_event, wp_unschedule_event, wp_get_scheduled_event, wp_schedule_single_event, wp_scheduled_delete

Top Google Results

User discussions

wpseek mobile