Disable Plugin & Theme Editor
Disable the Plugin and Theme Editors in WordPress and prevent unauthorized users from editing code.
<?php
// Disable the Plugin and Theme Editor
if ( ! defined( 'DISALLOW_FILE_EDIT' ) ) {
define( 'DISALLOW_FILE_EDIT', true );
}
Post Comment