WoW:API KBSetup GetArticleHeaderCount: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(New page: {{wowapi}} __NOTOC__ <div style="float: right"><small>'''Main Page'''</small></div> Returns the number of articles for the current page. count = KBSetup_GetArticleHead...)
 
m (Move page script moved page API KBSetup GetArticleHeaderCount to API KBSetup GetArticleHeaderCount without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < KBSetup GetArticleHeaderCount

Returns the number of articles for the current page.

count = KBSetup_GetArticleHeaderCount()

Parameters[edit]

Arguments[edit]

()

Returns[edit]

count
count
Integer - The number of articles for the current page.

Example[edit]

 local count = KBSetup_GetArticleHeaderCount()
 for i=1, count do
   -- do something with the article

Details[edit]

  • This will count the "most asked" articles, not the number of articles for the active query.