Last active
December 26, 2015 19:49
-
-
Save andrezrv/7203739 to your computer and use it in GitHub Desktop.
Disable autoupdates in WordPress 3.7+.
This file contains hidden or 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 | |
# Disables all kind of file modifications: | |
# core, plugins and themes won't be auto-updated | |
# and file editors won't appear anymore in wp-admin. | |
define( 'DISALLOW_FILE_MODS', true ); | |
# Disables all core updates: | |
define( 'WP_AUTO_UPDATE_CORE', false ); | |
# Enables all core updates, including minor and major: | |
//define( 'WP_AUTO_UPDATE_CORE', true ); | |
# Enables core updates for minor releases (default): | |
//define( 'WP_AUTO_UPDATE_CORE', 'minor' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment