API GetAccountExpansionLevel

Returns the expansion level the account has been flagged for.
 expansionLevel = GetAccountExpansionLevel()
==Returns==
:;expansionLevel: - The expansion the player's game license has been flagged for.
==Example==
Before and after pre-ordering the Shadowlands expansion. Requires a client restart to update, if still in-game.
 /dump GetAccountExpansionLevel() -- 7 -> 8
==Patch changes==
==See also==
* () - Returns the newest expansion actually available to the player.