Disable Theme Editor Option in WordPress Admin

When you deliver WordPress based website to the client who is not technical as he can manage his/her website by using WordPress Admin panel, then you should disable the theme editor option from admin panel. It will stop to make any changes directly in code by using WordPress Admin panel.

Disable Theme Editor Option in WordPress Admin

Copy the below code paste it into the functions.php file from your current activated theme folder.

Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.

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: , , , , , ,