apply_filters( 'findstrDropdownSelectOptions', options Object, field Object, group string, fieldItem Object )
add_filter( 'findstrDropdownSelectOptions', options Object, field Object, group string, fieldItem Object )
Filter the dropdown select options.
Options are passed to TomSelect, @see https://tom-select.js.org/docs/
Parameters
| Name | Type | Description |
|---|---|---|
options | Object | The options |
field | Object | The field object |
group | string | The group |
fieldItem | Object | The field item |
- Source
Returns:
The options
- Type:
- Object