WoW API < KBSetup GetTotalArticleCount

Returns the number of articles.

count = KBSetup_GetTotalArticleCount()

Parameters[edit | edit source]

Arguments[edit | edit source]


Returns[edit | edit source]

Integer - The number of articles.

Example[edit | edit source]

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

Details[edit | edit source]

  • This will count the "most asked" articles, not the number of articles for the active query.
Community content is available under CC-BY-SA unless otherwise noted.