apply_filters( 'term_search_min_chars', int $characters, WP_Taxonomy $tax, string $s )

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

Parameters

$characters

(int) The minimum number of characters required. Default 2.

$tax

(WP_Taxonomy) The taxonomy object.

$s

(string) The search term.

Source

File: wp-admin/includes/ajax-actions.php

View on Trac

Changelog

Version Description
4.0.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/term_search_min_chars