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_users, get_posts, get_usermeta, count_user_posts, get_user_meta

Top Google Results

User discussions

wpseek mobile