API RemoveChatWindowChannel

104,670pages on
this wiki
Add New Page
Talk0 Share
WoW API < RemoveChatWindowChannel

Blocks further messages from a specified chat channel from appearing in a specific chat frame.

RemoveChatWindowChannel(windowId, "channelName");

Arguments Edit

Number - index of the chat window/frame (ascending from 1) to remove the channel from.
String - name of the chat channel to remove from the frame.

Details Edit

  • Chat output architecture has changed since release; calling this function alone is no longer sufficient to block a channel from a particular frame in the default UI. Use ChatFrame_RemoveChannel(chatFrame, "channelName") instead, like so:
ChatFrame_RemoveChannel(ChatWindow1, "Trade"); -- DEFAULT_CHAT_FRAME works well, too 

See also Edit

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.

Also on Fandom

Random Wiki