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.
Copy the below code paste it into the functions.php file from your current activated theme folder.
1 2 3 4 5 |
<?php // Disable the theme / plugin text editor in Admin define('DISALLOW_FILE_EDIT', true); ?> |
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.
Article Tags: woocommerce plugin for wordpress tutorial, woocommerce plugin wordpress tutorial, wordpress tutorial, wordpress tutorial for beginner, wordpress tutorials, wordpress tutorials for beginners, wordpress tutorils