Fandom

WoWWiki

API Frame UnregisterEvent

104,633pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Widget API ← Frame < UnregisterEvent

Unregisters an event that the object is currently monitoring.

obj:UnregisterEvent("event");

Parameters Edit

Arguments Edit

"event" 
The name of the event the object wishes to no longer monitor. See Events.

Returns Edit

nil

Example Edit

myChatAddon:UnregisterEvent("CHAT_MSG");

Result Edit

Code in the <OnEvent> section of your addon would no longer fire anytime a chat message was received.

Details Edit

Unregisters an event that an object is currently monitoring. Note: LUA is a case-sensitive language - there is no function called 'UnRegisterEvent'.
See also: Frame:RegisterEvent

Also on Fandom

Random Wiki