WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19380, comment 7


Ignore:
Timestamp:
11/28/11 17:17:58 (3 years ago)
Author:
willshouse
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19380, comment 7

    initial v1  
    11Thought I had already tried the `init` hook but I didn't think it worked at the time. It's working OK now so I'm happier. 
    22 
    3 I would still like to have more control over the priorities of menu items or possibly just a function to get a list of all the root menu items in order. This would be a useful way to deal with menu items added by other plugins. 
     3I would still like to have more control over the priorities of menu items or possibly just a function to get a list of all the root menu items in order. This would be a useful way to deal with menu items added by other plugins, as I noticed the code above left a few things in the admin bar after I got it working properly (due to another plugin). 
    44 
    55Would it be possible to add a function to just return an array of root menu items in order to the 3.3 release?