WoW API: PetRename

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API PetRename to API PetRename without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < PetRename


Renames your pet.

PetRename("name")


Arguments

name
String - The new name of the pet


Returns

nil


Details

Only hunters can rename their pets.
Each pet can be renamed once. Using this function when the pet has already been renamed results in an error message.