Home › Forums › General Issues › Filter relationship field values conditionally › Reply To: Filter relationship field values conditionally
Hi @patternbook
It is possible to customize the WP_Query args by using this filter:
http://www.advancedcustomfields.com/resources/filters/acf-fields-relationship-query/
However, because this is a PHP filter, there would be no way of knowing the ‘new’ region value selected on the same page, only the region value that was already saved to the DB.
Hope that helps.
Thanks
E
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.