public static function get_user_name($user_id) { $user_info = get_userdata($user_id); return $user_info->user_login; }