Filters the number of posts a user has written.
Parameters
$count
int- The user’s post count.
$userid
int- User ID.
$post_type
string|array- Single post type or array of post types to count the number of posts for.
$public_only
bool- Whether to limit counted posts to public posts.
Source
return apply_filters( 'get_usernumposts', $count, $userid, $post_type, $public_only );
User Contributed Notes
You must log in before being able to contribute a note or feedback.