Change the ordering of menu items in the Wordpress administrator panel
Update the ordering in the returned array.
<?php
function custom_menu_order($menu_ord) {
if (!$menu_ord) return true;
return array(
'index.php', // Dashboard
'separator1', // First separator
'edit.php?post_type=page', // Pages
'edit.php?post_type=products', // Custom Post Type
'edit.php?post_type=players', // Custom Post Type
'edit.php?post_type=retailers', // Custom Post Type
'edit.php', // Posts
'edit.php?post_type=careers', // Custom Post Type
'separator2', // Second separator
'upload.php', // Media
'gf_edit_forms', // Forms
'nav-menus.php', // Menus
'sitepress-multilingual-cms/menu/languages.php', // WPML
'separator-last', // Second separator
'themes.php', // Appearance
'plugins.php', // Plugins
'users.php', // Users
'tools.php', // Tools
'options-general.php', // Settings
);
}
add_filter('custom_menu_order', 'custom_menu_order');
add_filter('menu_order', 'custom_menu_order');
?>