How to create restrict content to users (by user, not by role)
What we can do here is to create a meta box for each post, and assign a user to it. Then, on our post page, check whether the current user is related to the post or not. If they are not related to it, then redirect them back to homepage or somewhere else. I’m going … Read more