Function __global->regenerate_event_reminder_jobs

Definitions

sources/calendar.php

  • Regenerate all the calendar jobs for reminders for next recurrence of an event (because the event was added or edited).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$id AUTO_LINK No No required parameter N/A N/A The ID of the event
$force boolean No No False N/A N/A Force evaluation even if it's in the past. Only valid for code events

Preview

Code (PHP)

/**
 * Regenerate all the calendar jobs for reminders for next recurrence of an event (because the event was added or edited).
 *
 * @param  AUTO_LINK $id The ID of the event
 * @param  boolean $force Force evaluation even if it's in the past. Only valid for code events
 */

function regenerate_event_reminder_jobs(int $id, bool $force = false)