get_user


get_user ( $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

get_users, get_user_by, edit_user, get_userdata, get_usermeta

Top Google Results

User discussions

wpseek mobile