Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 5.0.4

True if the collected battle pet is favorited.

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 (2012-08-28): Added.

Advertisement