How to Remove The WordPress Admin Menu

Prem Tiwari - - WordPress, WordPress Snippets


Hi folks, today I am going to share a very quick tutorial how to remove the WordPress admin menu on your WordPress website. If you want to remove the unused menu from your admin area, then this tutorial is specially designed for you.

wordpress-logo

How to Remove The WordPress Admin Menu

Copy the below code and use it at the end of the functions.php file and save it.

Another example to remove the for all admin menu.

How to remove admin menu for only certain users

If you want to remove the admin menu for only certain users and for rest it will display in the admin area, then use the below code.


Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer and a blogger by hobby.

Tags: , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.