Lore archive · Warcraft Wiki, 2023 dump
API RemoveChatWindowChannel
Last wiki revision 2022-07-21
Removes the specified chat channel from a chat window. RemoveChatWindowChannel(windowId, channelName)
- windowId: - index of the chat window/frame (ascending from 1) to remove the channel from.
- channelName: - name of the chat channel to remove from the frame.
ChatFrame_RemoveChannel(ChatWindow1, "Trade"); -- DEFAULT_CHAT_FRAME works well, too
- 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, "channelName") instead, like so:
Source
https://warcraft.wiki.gg/wiki/API_RemoveChatWindowChannel · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.