- get_usernumposts is deprecated since version 3.0.0!
get_usernumposts ( $userid )
- (int) $userid User to count posts for.
- (int) Number of posts the given user has written.
- Introduced in WordPress: 0.71
- Deprecated in WordPress: 3.0.0
Retrieves the number of posts a user has written.