apply_filters( 'term_search_min_chars', int $characters, WP_Taxonomy $taxonomy_object, string $search )

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.
$taxonomy_object WP_Taxonomy
The taxonomy object.
$search string
The search term.

Top ↑

Source

File: wp-admin/includes/ajax-actions.php. View all references

$term_search_min_chars = (int) apply_filters( 'term_search_min_chars', 2, $taxonomy_object, $search );


Top ↑

Changelog

Changelog
Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.