Skip to content

Instantly share code, notes, and snippets.

@yanknudtskov
Created January 4, 2014 13:15
Show Gist options
  • Save yanknudtskov/8255226 to your computer and use it in GitHub Desktop.
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