Skip to main content

Filter: gk/gravitycalendar/events/form-submit/reload

Whether a calendar reloads its events after an entry is submitted on the same page through its form.

The calendar reloads when Gravity Forms submits the form by AJAX and shows a confirmation message. A submission that reloads the page, or redirects, already shows a fresh calendar.

Parameters​

NameTypeDescription
$refreshboolWhether the calendar reloads its events. Default: true, except in the feed settings preview, the block editor, and a View's calendar that shows only the entries on the View's current page.
$feedarray|falseCalendar feed.
$formarray|falseThe feed's form.
$view_idintID of the View showing the calendar. 0 when no View shows it.

Since​

  • TBD: TBD

Source​

Defined in includes/class-calendar-feed.php at line 3271