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