How to Remove The WordPress Admin Menu

| Last Updated: | In: 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.

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.


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


You may also like:


, , , , , , , ,