Skip to content

Instantly share code, notes, and snippets.

@Asikur22
Last active August 17, 2019 17:17
Show Gist options
  • Save Asikur22/88cb47b0c12fa29b5e0bc898897d9f5e to your computer and use it in GitHub Desktop.
Save Asikur22/88cb47b0c12fa29b5e0bc898897d9f5e to your computer and use it in GitHub Desktop.
[Dashboard Menu Item Positioning/Ordering]

What the values mean:

  • 0 - at the very top
  • 5 - below Posts
  • 10 - below Media
  • 15 - below Links
  • 20 - below Pages
  • 25 - below comments
  • 60 - below first separator
  • 65 - below Plugins
  • 70 - below Users
  • 75 - below Tools
  • 80 - below Settings
  • 100 - below second separator

PHP file for Menu Item:

  • Dashboard: index.php
  • Posts: edit.php
  • Media: upload.php
  • Links: link-manager.php
  • Pages: edit.php?post_type=page
  • Comments: edit-comments.php
  • Appearance: themes.php
  • Plugins: plugins.php
  • Users: users.php
  • Tools: tools.php
  • Settings: options-general.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment