Hi, i have a relationship from pictures to books. the relationship is 1:1 Reciprocal relationship. i want to prevent assigning a pictures post (type). to a different book. I basically want to hide the already linked relation post so it not get reassigned to different.
i see there is Query args, wonder if anyway we can exclude those already have relationship assigned.
There isn't an option to exclude a post from the list if it has a relationship. I will inform the development team to consider supporting this feature in future updates.
I have tried few things and i am not able to find the right hook, is there any way to pass a new filter to change the query? currently it list all posts and i wonder if i can overwrite this query. i am looking for the right hook.