disable file wordpress code example Example: wordpress disable edit files //Add inside wp-config.php: define('DISALLOW_FILE_EDIT', true);