Wowpedia
Advertisement
Wowpedia
240,511
pages
Game Flavors
Links
Patch
Added in 5.0.4

Returns whether a battle pet in your collection is marked as a favorite.

isFavorite = C_PetJournal.PetIsFavorite("petGUID")

Arguments

petGUID 
string - GUID of a battle pet in your collection.

Returns

isFavorite 
boolean - true if this pet is marked as a favorite, false otherwise.

Patch history

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

Advertisement