Home › Forums › ACF PRO › Choose wordpress tags shown in ACF field taxonomy (= do not show every term) › Reply To: Choose wordpress tags shown in ACF field taxonomy (= do not show every term)
This is a filter as used in WP.
The first argument of the filter is that value that you can adjust and return. In this case $args
is an array of values that will be used when ACF calls get_terms()
. Other values passed to your filter are for information. $field
is an array with all of the setting of the current field that the filter is being run for and $post_id
is the post ID of the current post being edited.
I don’t know why the filter is not working for your field. Can you give me more information about the field? Is this taxonomy field a sub field of another field?
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.