Skip to main content

Filter: gk/gravityview/view/refresh/render-entries

Filters whether the refresh payload renders the View.

Answer false from a layout that renders its results itself: the payload then carries no entries_html part, the render never runs, and the client leaves the DOM alone.

Parameters​

NameTypeDescription
$renderboolWhether to render the View. Default true.
$view\ViewThe View being refreshed.
$request\RequestThe request context.

Since​

  • 3.5.0

Source​

Defined in src/View/ViewRefreshPayload.php at line 137