Disable the Plugin and Theme Editor on WordPress

Posted on December 3, 2016 at 5:03 pm

To disable only the file editor (but allow for plugins and themes installation), simply add this line to your wp-config.php file (above the “ABSPATH” otherwise it won’t work):

define('DISALLOW_FILE_EDIT', true);

Updated on December 11, 2016 at 11:51 am

Receive updates via email

Other Posts

Updated Posts