Tagged Questions
2
votes
1answer
112 views
Getting the different post statuses + count like in edit.php, in a custom submenu page
I'm trying to create a submenu page for reordering posts/pages.
Right now I'm trying to include the list that display the different post statuses, for example:
All (5) | Published (4) | Draft (1)
I ...
1
vote
1answer
247 views
WP_Post_List_Table::get_views - Have post counts account for filters?
Toward the top of the edit.php screens there is a list that displays post statuses along with the post count. I believe this is generated by WP_Post_List_Table::get_views. For example All (7) | ...