I need to hide/remove the numbers behind the Edit screen in the backend.
All (30) | Published (22) | Draft (5) | Pending (2) | Trash (1)
As I am running a multi author blog and each author has just access to its own posts, I dont want to publish the cumulated information of all authors.
With the following code the views are completely unset, but I dont want to remove the whole functionality:
function remove__views( $views ) {
unset($views['all']);
unset($views['publish']);
unset($views['trash']);
return $views;
}
add_action( 'views_edit-post', 'remove_views' );
add_action( 'views_edit-movie', 'remove_views' );
Has anybody an idea, how I can either hide/remove the numbers behind the edit screen or - at best - to show only the numbers related to each author?
remove__views
has two underscores, but should only have one.