user_info code example Example: get_user_info Use get_userdata( int $user_id ) in wordpress it returns WP_User object