This function or event no longer exists in version 6.0.2 (19034) of World of Warcraft. Please check the main API page for an up-to-date listing of the valid API functions

Returns the number of talent tabs for the player, pet, or inspect target


See also Talent functions.

Signature:

numTabs = GetNumTalentTabs(inspect, pet)

Arguments:

  • inspect - true to return information for the currently inspected unit; false to return information for the player (boolean)
  • pet - true to return information for the player's pet; false to return information for the player (boolean)

Returns:

  • numTabs - Number of talent tabs (number)