How to Disable Plugin and Theme editor in WordPress

WordPress Plugin and Theme Editor are real sensitive things in WordPress. So somebody can edit these things from admin panel. So we should not allow to anybody through admin login or user login. To Disable Plugin and Theme editor you will need to paste just below ine in your wp-config.php file. This code will disable the code editing option from admin panel.

 define( 'DISALLOW_FILE_EDIT', true );

Leave a Reply

Your email address will not be published. Required fields are marked *