apply_filters( 'findstrQueryMinLength', queryMinLength number, group string, field Object, currentElement Object, parameters Object )
add_filter( 'findstrQueryMinLength', queryMinLength number, group string, field Object, currentElement Object, parameters Object )
Limit the search field to 3 characters minimum
Parameters
| Name | Type | Description |
|---|---|---|
queryMinLength | number | The minimum length of the query |
group | string | The group name |
field | Object | The field object |
currentElement | Object | The current element who triggered the event |
parameters | Object | The search parameters |
Returns:
queryMinLength - The minimum length of the query
- Type:
- number