wp_reschedule_event


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

Parameters:
  • (int) $timestamp Unix timestamp (UTC) for when to next run the event.
  • (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 each separate argument to pass to the hook's callback function.
Returns:
  • (bool) True if event successfully rescheduled. False for failure.
Defined at:
Change Log:
  • 5: .

Description

Reschedules a recurring event.

Related Functions

wp_schedule_event, wp_unschedule_event, wp_scheduled_delete, wp_schedule_single_event, wp_get_schedule

Top Google Results

User discussions

wpseek mobile