Skip to main content

Filter: gravityview/maps/viewport-loading/dataset-bounds-cache-context

The visibility context that segments the dataset-bounds cache. Defaults to logged-in vs public; return a more specific token (e.g. a user ID or role hash) for Views whose visible entries vary per user via Advanced Filters or capabilities.

Parameters

NameTypeDescription
$contextstringDefault: 'auth' when logged in, 'anon' otherwise.
$view\ViewThe View.

Since

  • 3.10.0

Source

Defined in src/Rest_Infowindow.php at line 354