Skip to content

Instantly share code, notes, and snippets.

Last active February 23, 2021 18:44
What would you like to do?

WordPress Admin Menu Indexes

WordPress Admin menus are populated from a global $menu variable which is only generated in admin contexts. Items can be added or re-ordered from the admin_menu action.

This is the default order:

  1. Dashboard
  2. wp-menu-separator
  3. Posts
  4. Media
  5. Pages
  6. wp-menu-separator
  7. Appearance
  8. Plugins
  9. Users
  10. Tools
  11. Settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment