Disable the WordPress file editor.


/ Published in: PHP
Save to your folder(s)

Add this snippet to `wp-config.php` to remove the file editor links from the WordPress admin menus. Read more about... [disabling the WordPress file editor](http://www.orderofbusiness.net/blog/disable-wordpress-file-editor/)


Copy this code and paste it in your HTML
  1. define('DISALLOW_FILE_EDIT', TRUE);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.