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
| Name | Type | Description |
|---|---|---|
| $facets | \Facet[] | The facets, in display order. |
| $view_id | int | The View ID. |
Since
- 3.15.0
Source
Defined in src/Pro/LiveFilters/Search/Faceting/LiveFiltersRepository.php at line 90