Home › Forums › ACF PRO › Show only categories in the relationship field taxonomy filter › Reply To: Show only categories in the relationship field taxonomy filter
I’ve been thinking about this and there could be a solution to ensure that all of the terms in a taxonomy are always included/selected for the filter. This could be done with an acf/load_field filter. Export the taxonomy field to php to get an idea of the settings for the taxonomy selections. In the filter get all of the terms in the taxonomy and populate the acf field setting with the correct values. This way, if a term is ever added to the category it will be automatically added to the list.
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.