Disable Theme Editor Option in WordPress Admin

Prem Tiwari - - Code Snippets


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.


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.