WoW API: KBSetup GetArticleHeaderCount

Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API KBSetup GetArticleHeaderCount to API KBSetup GetArticleHeaderCount without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < KBSetup GetArticleHeaderCount

Returns the number of articles for the current page.

count = KBSetup_GetArticleHeaderCount()

ParametersEdit

ArgumentsEdit

()

ReturnsEdit

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

ExampleEdit

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

DetailsEdit

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