get_userdata


get_userdata ( $user_id )

Parameters:
  • (int) $user_id User ID
Returns:
  • (WP_User|false) 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_users_drafts, get_user_details

Top Google Results

User discussions

wpseek mobile