Removing WordPress Admin Menus

When deploying WordPress sites for clients, it can be extremely useful to customize aspects of the WordPress admin area. For users who are not familiar with WordPress, some aspects of the admin area can be confusing, especially if they are not being directly utilized by the client. For example, not all users need a Links section for their site (perhaps less is more if you are designing a site for a client using WordPress). So here’s a quick tip for removing menu items from the main admin navigation.

Simply paste this into your functions.php:

This code will remove the LinksToolsSettings, and Comments menu items. Simply add all the menu names you wish to remove to this part of the code above:

So what would it look like if you wanted to remove the ToolsCommentsAppearancePlugins, and Settings menus? The complete code is this:

I hope you found this article useful. If you are unsure about anything please let me know 🙂

Pippin