findstrDropdownSelectOptions

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

NameTypeDescription
optionsObject

The options

fieldObject

The field object

groupstring

The group

fieldItemObject

The field item

Returns:

The options

Type: 
Object