count_many_users_posts ( $users, $post_type = 'post', $public_only = false )
- (int) users Array of user IDs.
- (string|string) post_type Optional. Single post type or array of post types to check. Defaults to 'post'.
- (bool) public_only Optional. Only return counts for public posts. Defaults to false.
- (string) Amount of posts each user has written, as strings, keyed by user ID.
- Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Number of posts written by a list of users.