Wowpedia
Advertisement
Wowpedia
240,483
pages

Returns whether a frame listens to a specific event.

isRegistered = frame:IsEventRegistered(event);

Arguments

event 
string - Name of any event that a frame can register for.

Returns

isRegistered 
boolean - True if the frame is registered for an event, or false otherwise. Invalid event names always return false.

Example

local isRegistered = UIParent:IsEventRegistered("PLAYER_LOGIN");
print(isRegistered)  -- true

Patch changes

See also

References

Advertisement