I’m slow – It looks like Elliot solved it on this thread – But the problem was someone else’s answer was highlighted with code (and I mistakenly thought theirs was the solution when it’s not). Elliot’s response here (which is the solution and easiest possible thing to do) –
Your meta key will need to be the name of the field, and your meta value will need to be the $post_id
Hope this helps others in the future,
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!
© 2023 Advanced Custom Fields.