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.

Was it helpful?

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
scroll top