Menus: create
menus_createCreate an empty menu for a specific role in Anythink, then add items separately. Reorder menus to control which menu the role sees first.
Instructions
Create a menu for a role. The new menu is empty; add items with menus_add_item. A role is shown only its first menu, so a second menu for the same role may not appear; use menus_reorder to choose which comes first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Menu name | |
| role_id | Yes | ID of the role the menu is shown to. Find it with roles_list. |