Returns whether the player is in a world PvP zone offering an exit option.

Used by the default UI to show the MiniMapBattlefieldFrame and provide a menu option for leaving if the player is in a world PvP combat zone (i.e. Wintergrasp).


See also PvP functions, Player information functions.

Signature:

status = CanHearthAndResurrectFromArea()

Returns:

  • status - 1 if in a world PvP zone with an exit option; otherwise nil (1nil)