Menus: reorder
menus_reorderSets the display order of menus so specified menu IDs appear first; remaining menus keep their current order. Use when a role's visible menu depends on which menu comes first.
Instructions
Set the order of menus. Menus you name come first in that order and the rest follow in their current order. Order matters when a role has more than one menu, because the role is shown only its first; to change a menu's role, use menus_update. It changes or deletes existing data, so check with the user before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu_ids | Yes | Comma-separated menu IDs in the order they should appear, e.g. 92,90,91. Menus you leave out follow in their current order |