Home › Forums › Backend Issues (wp-admin) › use get_field() inside acf/fields/taxonomy/query/ filter › Reply To: use get_field() inside acf/fields/taxonomy/query/ filter
You must supply the post ID
If it is the same post and the field is already saved
$parent = get_field('field_5f326eac0b9d8', $post_id);
Otherwise look at this topic https://support.advancedcustomfields.com/forums/topic/filter-post-object-based-on-selected-taxonomy/
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.