A WordPress-centric search engine for devs and theme authors



term_search_min_chars ›

Since4.0.0
Deprecatedn/a
apply_filters( 'term_search_min_chars', 2 )
Parameters:
  • (int) $characters The minimum number of characters required. Default 2.
    Required: Yes
Defined at:
Codex:

Filters the minimum number of characters required to fire a tag search via Ajax.

Previous to 5.0.0, this filter passed taxonomy and search context parameters.





Source

'minChars'     => (int) apply_filters( 'term_search_min_chars', 2 ),