Skip to main content

Filter: gk/gravityview/view/refresh/live

Filters whether a View refreshes in place rather than reloading the page.

Answer true from a layout that drives the View from its own controls (a map moving, a calendar changing month) so it gets a refresh region without the site owner having to find the setting.

Parameters

NameTypeDescription
$liveboolWhether the View refreshes in place. Default: the View's live_refresh setting.
$view\ViewThe View being rendered.

Since

  • $ver$: $ver$

Source

Defined in src/Frontend/ViewRefresh.php at line 151