You can find the WordPress automatic update disable code below. When you add the code to your site, all automatic updates will be disabled.
WordPress automatic updates were one of the innovations in version 3.7. Automatic updates are enabled in new WordPress versions. To disable Automatic Updates, follow the steps below.
Disable WordPress Automatic Updates
- Open your wp-config.php file. (/public_html/wp-config.php)
- find the line define(‘WP_DEBUG’, false); and add the following code just above it.
define('AUTOMATIC_UPDATER_DISABLED', true);
You can also find more information and code about WordPress updates on the WordPress Codex editing_wp-config page. You can find other codes that you can add to your wp-config.php file for WordPress automatic updates below.
# Disable All Core Updates
define( 'WP_AUTO_UPDATE_CORE', false );
# Enable All Core Updates
It is the code to activate all basic updates, including minor and major ones.
define( 'WP_AUTO_UPDATE_CORE', true );
# Enable Core Updates for Minor Releases (default)
define( 'WP_AUTO_UPDATE_CORE', 'minor' );
# Turn Off WordPress Automatic Theme Updates
add_filter( 'auto_update_theme', '__return_false' );
# Turn Off WordPress Automatic Plugin Updates
add_filter( 'auto_update_plugin', '__return_false' );
# Disable WordPress Automatic Translation Updates
add_filter( 'auto_update_translation', '__return_false' );
# Disable WordPress Automatic Translation Updates
add_filter( 'auto_update_translation', '__return_false' );
# Turn Off WordPress Automatic Version Updates
add_filter ('allow_dev_auto_core_updates', '__return_true');
For more information and settings, you can visit Upgrading WordPress (English).