How to Limit Authors to their Own Posts in WordPress Admin
To get started install and activate the Manage/View Your Posts Only plugin and that’s all you need to do.
As an administrator you’ll be able to see all posts.
But I’ll log in with an author role like this.
And hereB you only see a handful of articles.
A drawback to this plugin is that it only allows administrators to see all posts, but many sites use an editor to edit author’s posts. If you need that type of functionality, then instead of using the plugin, just add this bit of code to you functions.php file or a site-specific plugin.
This code looks to see if the current user is admin or can edit others’ posts and if it can, then they see all those posts.
I hope you liked this article and found it helpful.