Skip to content

Instantly share code, notes, and snippets.

@yanknudtskov
Created January 4, 2014 13:15
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save yanknudtskov/8255226 to your computer and use it in GitHub Desktop.
Disallow File Mods Be careful using this, as it will disable the ability to update both core, plugins and themes in the Wordpress Admin. It's very helpful for security or locking a website into a static version.
define('DISALLOW_FILE_MODS', true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment