Skip to content

Instantly share code, notes, and snippets.

@adapicom
Created May 30, 2013 20:59
Show Gist options
  • Save adapicom/5681188 to your computer and use it in GitHub Desktop.
Save adapicom/5681188 to your computer and use it in GitHub Desktop.
Add this to wp-config.php file to disable core, plugin and theme updates and editing.
/** Preventing Core, Plugin and Theme Auto Updates. */
define( 'DISALLOW_FILE_EDIT', true );
define( 'DISALLOW_FILE_MODS', true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment