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

Retrieves user info by user ID.

Related Functions

setup_userdata, get_usermeta, get_user, get_user_meta, get_user_details

Top Google Results

User discussions

wpseek mobile