excuse me,
I need the same function.
or at least I think it is the same:
I need that in the “post_object” seen in the admin side, you see a list of our posts in a specific custom post, obviously without seeing those of others.
I copied the code and I replaced the custom post with my “franchises” -> “stand”
But by testing with user semplicesi continues to see the full list.
What I’m missing?