HelpLib.CreateNewSubCategory
From WoWWiki
This article is a part of the documentation of the HelpLib function library
Creates a new subcategory
HelpLib.CreateNewSubCategory(SubCategoryName,CategoryName)
Parameters
Arguments
-
- SubCategoryName
- String - Name of the subcategory to create.
- CategoryName
- String - Category under which to create the subcategory
Returns
- nil
Example
HelpLib.CreateNewSubCategory("TasteTheNaimbow","Cosmos")
Result
Creates a new subcategory called "TasteTheNaimbow" under the category "Cosmos" as long as it does not yet exist.
Details
- Adds a subcategory to the given category in the Help database.
- Notes
- Creates the category if it doesn't exist
- Fails silently if the subcategory already exists.
