API C TradeSkillUI.GetCategories

Returns a table of category IDs for the currently opened trade skill. categoryIDs = C_TradeSkillUI.GetCategories

Returns

 * categoryIDs : number[]

Example
This lists all categories for the currently opened profession.