<?php
/* 
= Reorder admin menu items
* WordPress: 3.3.1
* Version: 1.0
* URL: elbone.com.au
* Files: functions.php
*/

// Reorder admin menu
add_filter('custom_menu_order', 'elbone_custom_menu_order');
add_filter('menu_order', 'elbone_custom_menu_order');
if (!function_exists('elbone_custom_menu_order')) {
    function elbone_custom_menu_order($menu_ord) {
        if (!$menu_ord) return true;
	    return array(
            // Order these as you see fit
		    'index.php', // Dashboard
		    'separator1', // First separator
		    'edit.php', // Posts
		    'upload.php', // Media
		    'link-manager.php', // Links
		    'edit.php?post_type=page', // Pages
		    'edit-comments.php', // Comments
		    'separator2', // Second separator
		    'themes.php', // Appearance
		    'plugins.php', // Plugins
		    'users.php', // Users
		    'tools.php', // Tools
		    'options-general.php', // Settings
		    'separator-last', // Last separator
	    );
    }
}