API C_PetJournal.GetBattlePetLink

From Wowpedia
Jump to: navigation, search

Returns a chat link for the specified battle pet.

link = C_PetJournal.GetBattlePetLink("petID")

Arguments

petID 
String - GUID specifying a battle pet in your collection.

Returns

link 
String - A chat link to the specified battle pet; nil if there is no pet with the specified petID in your collection.

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.