How can I disallow contributors on my site from seeing what other posts are published on the site, and only see their own?
Leave a Reply
You must be logged in to post a comment.
How can I disallow contributors on my site from seeing what other posts are published on the site, and only see their own?
You must be logged in to post a comment.
I hope you are talking about wp-admin section. If yes just place this code in your
functions.php
file@Giri: Thanks for the answer but it’s not perfect yet.
Admin can modify the query arg “author” manually and they will be able to view the other
The line above should also check if $_GET[‘author’] is not current user
Another approach, like accepted answer (but without redirection):