get_userdata


get_userdata ( $user_id )

Parameters:
  • (int) user_id User ID
Returns:
  • (WP_User|bool) WP_User object on success, false on failure.
Defined at:

Description

Retrieve user info by user ID.

Related Functions

setup_userdata, get_usermeta, get_user_meta, get_user_details, get_users_drafts

Top Google Results

User discussions

wpseek mobile