Created
May 22, 2017 10:10
-
-
Save lukearmstrong/b906c05ec422871a287d90a4d3cadf2f to your computer and use it in GitHub Desktop.
Disable WordPress Updates
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
if (ENVIRONMENT != 'development') { | |
define('AUTOMATIC_UPDATER_DISABLED', true); // Disable Automatic Updates | |
define('WP_AUTO_UPDATE_CORE', false); // Disable WordPress Core Automatic Updates | |
define('DISALLOW_FILE_EDIT', true); // Disable the Plugin and Theme Editor | |
define('DISALLOW_FILE_MODS', true); // Disable Wordpress, Plugin and Theme Installation and Updates | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment