Last active
April 11, 2017 19:30
-
-
Save jasonbraun/28b3ee0310db3b337100a94da104cf91 to your computer and use it in GitHub Desktop.
Remove 'Editor' from 'Appearance' Menu in WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Remove 'Editor' from 'Appearance' Menu. | |
//* This stops users and hackers from being able to edit files from within WordPress. | |
define( 'DISALLOW_FILE_EDIT', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment