#9652 closed enhancement (fixed)
Allow menu reordering via plugin
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Menus | Keywords: | |
Focuses: | Cc: |
Description
[11092] adds the ability for plugins to reorder top-level menus. Attached is a plugin showing how it is used.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Attached code demonstrates menus with Dashboard, Posts, and Comments in the first menu group. The remaining menus follow in their usual order. When filtering the order array, any menus that are not mentioned in the array will be sorted after ones that are mentioned. Unmentioned menus are sorted in their usual order, relative to other unmentioned menus.