List available categories
atomsCategoryList([filter])
:filter This argument controls if all categories or only main categories have to be displayed. filter is a single-string and its value should be:
- “all”: All categories (main categories and sub-categories) are displayed.
- “main”: Only main categories are displayed.
:
List available categories
atomsCategoryList();
atomsCategoryList("all");
atomsCategoryList("main");