Home › Forums › Backend Issues (wp-admin) › Taxonomy Field Performance › Reply To: Taxonomy Field Performance
Hi @wleefro
What I have in mind is you can limit the returned terms so it will load faster. You can do it like this:
function my_taxonomy_query( $args, $field, $post_id ) {
// modify args
$args['number'] = 10;
// return
return $args;
}
add_filter('acf/fields/taxonomy/query', 'my_taxonomy_query', 10, 3);
If you want to find specific terms, just search it on the field input.
I hope this helps.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.