Filter: gravityview/search/searchable_fields/allowlist
Modifies the fields able to be searched using the Search Bar
Parameters
| Name | Type | Description |
|---|---|---|
| $searchable_fields | array | Array of GravityView-formatted fields or only the field ID? Example: [ '1.2', 'created_by' ] |
| $view | \GV\View | Object of View being searched. |
| $with_full_field | bool | Does $searchable_fields contain the full field array or just field ID? Default: false (just field ID) |
Since
Source
Defined in includes/widgets/search-widget/class-search-widget.php at line 598