Home / Reorder Admin Menu Items
Duplicate Snippet

Embed Snippet on Your Site

Reorder Admin Menu Items

Control the order of the admin menu items with a simple snippet.

Code Preview
add_filter( 'custom_menu_order', '__return_true' );
// This will move the WPCode menu under the Dashboard menu item.
// Uncomment and add more items as needed.
add_filter( 'menu_order', function () {
	return array(
// 		'edit.php', // Posts
// 		'upload.php', // Media
// 		'edit.php?post_type=page', // Pages
// 		'edit-comments.php', // Comments
} );


Add a Comment