Filter: gravityview/search/searchable_fields
Modify the fields that are displayed as searchable in the Search Bar dropdown.
Parameters
| Name | Type | Description |
|---|---|---|
| $fields | array | Array of searchable fields, as fetched by gravityview_get_form_fields(). |
| $form_id | int | The form ID. |
See Also
gravityview_get_form_fields()- Used to fetch the fields.SearchWidget::get_search_input_types- See this method to modify the type of input types allowed for a field.
Since
- 1.17
Source
Defined in src/Search/SearchFieldCollection.php at line 213