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, $tax, $s )
Parameters: (3)
  • (int) $characters The minimum number of characters required. Default 2.
    Required: Yes
  • (WP_Taxonomy) $tax The taxonomy object.
    Required: Yes
  • (string) $s The search term.
    Required: Yes
Defined at:
Codex:

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





Source

$term_search_min_chars = (int) apply_filters( 'term_search_min_chars', 2, $tax, $s );