Showing Post Counts of One's (Author) Own in the admin post list
-
16-10-2019 - |
Question
How can I show user's post counts of one's (Author) own in the admin post list (edit.php) instead of all post count of the system? like published (10), Draft (5) ... of his own or logedin user.
Thanks in advance.
Solution
Have a look here for the solution (code needs optimizing, but it works): Help to condense/optimize some working code
OTHER TIPS
This seems to be applied automatically if user doesn't have edit_others_posts
capability for post type ( source ).
Otherwise I see no easy way to change it. As many things in admin it is mostly hardcoded and doesn't pass through any filters.
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange