Returns the "official" name of the zone or instance in which the player is located. This name matches that seen in the Who, Guild, and Friends UIs when reporting character locations. It may differ from those the default UI displays in other locations (GetZoneText() and GetMinimapZoneText()), especially if the player is in an instance: e.g. this function returns "The Stockade" when the others return "Stormwind Stockade".


See also Zone information functions.

Signature:

zoneName = GetRealZoneText()

Returns:

  • zoneName - Name of the zone or instance (string)