How to Remove The WordPress Admin Menu

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.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , , , , , ,