Created
May 2, 2019 04:03
-
-
Save danielmcclure/8bbb1092291bcd2c6aaac53d33b248d3 to your computer and use it in GitHub Desktop.
Settings that Block Updates for WordPress Sites
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 | |
/** | |
* Settings that Block Updates for WordPress Sites | |
*/ | |
// Disable Live File Editing | |
define( 'DISALLOW_FILE_MODS', true ); | |
// Disable Automatic WordPress Updates | |
define( 'WP_AUTO_UPDATE_CORE', false ); | |
// Disable Automatic Updates | |
define( 'AUTOMATIC_UPDATER_DISABLED', true ); // Bool | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment