I have a custom post type called "team".
I created a Post Object with the ACF plugin which Filter by Post Type value of "team" and I target the WordPress Posts for the location.
The idea is to associal team member with a wordpress post.
Let's say that the admin create a new post and after that select a "team member" from the post object.
If the user visit the single member page I want to show all posts associated with the current visited member.
As far as I can see I need to use "meta_query" in the post $args and check if it's equal to the current post id but I can't make it work.
What is the right way to achieve this functionality?