get_usernumposts


get_usernumposts ( $userid )

Parameters:
  • (int) userid User to count posts for.
See:
Returns:
  • (int) Number of posts the given user has written.
Defined at:

Description

Retrieves the number of posts a user has written.

Related Functions

get_posts, get_users, get_usermeta, get_users_drafts, count_user_posts

Top Google Results

User discussions

wpseek mobile