Skip to main content

Filter: gk/gravityview/search/faceting/available-facets

Filters the Live Filters a View offers to visitors.

Removing a facet here takes it out of the sidebar and stops its field being searchable through the facet. The saved configuration is left as it is.

Parameters​

NameTypeDescription
$facets\Facet[]The facets, in display order.
$view_idintThe View ID.

Since​

  • 3.15.0

Source​

Defined in src/Pro/LiveFilters/Search/Faceting/LiveFiltersRepository.php at line 90