WoW API: GetNumDisplayChannels

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetNumDisplayChannels to API GetNumDisplayChannels without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetNumDisplayChannels

channelCount = GetNumDisplayChannels();

This function returns the number of channels and headers currently displayed by ChannelFrame. Usually used to loop through all available channels/headers to perfom API GetChannelDisplayInfo on them.

Note that this function only retrieves the number of visible channels/headers! Those subchannels that are hidden by a collapsed header are not counted.


This is part of the World of Warcraft API