wp_count_posts – filter

Filters the post counts by status for the current post type. 

Parameters

.
( 3.7.0 ) . .
$counts
( stdClass ) An object containing the current post_type’s post counts by status. . . .
( string ) $type Post type. . . .
( string ) $perm The permission to determine if the posts are ‘readable’ by the current user. . . .
API Letters: ,,

Implementers