Filter: gravityview_widget_search_filters
Modify what fields are shown. The order of the fields in the $search_filters array controls the order as displayed in the search bar widget.
Parameters
| Name | Type | Description |
|---|---|---|
| $search_fields | array | Array of search filters with key, label, value, type, choices keys |
| $widget | \GravityView_Widget_Search | Current widget object |
| $widget_args | array|null | Args passed to this method. {@since 1.8} |
| $context | null|string|\Template_Context | {@since 2.0} |
| $position | string|null | The search field position {@since $ver$} |
Source
Defined in includes/search/class-search-field-collection.php at line 539