Returns the most recent of WoW's retail expansion packs for which the player's account is authorized. Returns the expansionID of the highest WoW expansion pack the player's account is authorized for. If you intend to find the highest level the player can reach, you should instead use
See also Client control and information functions.
expansionLevel- Expansion level of the player's account (
0- World of Warcraft ("Classic")
1- World of Warcraft: The Burning Crusade
2- World of Warcraft: Wrath of the Lich King
3- World of Warcraft: Cataclysm
4- World of Warcraft: Mists of Pandaria