Enjoy upto
80% OFF

Disable Automatic Updates in WordPress Core

Disable Automatic Updates in WordPress Core

Did you know that WordPress can update your website automatically? In some cases, this may also include plugins and themes.

Despite the security advantages, there is a small chance that these background updates will break your website.

In this article, we’ll show you how to disable automatic updates in WordPress so that you can update manually.

Why WordPress updates automatically

WordPress automatically updates the core WordPress software for security reasons.

It may also update a plugin or theme to address a potential security risk. A WordPress plugin or theme, for example, might be updated to fix a serious flaw. If a plugin or theme is widely used, the WordPress core team may provide an automated update for it.

There is an option to enable automatic updates in WordPress. Automatic updates, on the other hand, are recommended because they usually address critical security issues and vulnerabilities.

If you’re confident in your ability to manage manual updates, you can safely turn off automatic updates in WordPress.

Configuring and disabling Automatic WordPress updates using plugin

The easiest way to do this is by installing and activating the Easy Updates Manager plugin.

Once the plugin is activated, go to Dashboard » Updates Options to configure your settings.

You can choose to ‘Disable all updates,’ but this is not something we encourage. The reason for this is that it will prevent all update alerts from displaying.

Note: You won’t see the update notifications in your plugins and themes lists if you choose ‘Disable plugin updates’ and ‘Disable theme updates’ instead of ‘Disable auto-updates.’

Easy Updates Manager maintains track of what’s been changed, so you can revert to a previous functioning version if something goes wrong. To view this, go to Dashboard » Updates Options and then click the ‘Logs’ tab.

Disabling Automatic WordPress updates without using Plugin

What if you don’t want to use a plugin? You can disable automatic updates in WordPress by adding this line of code to your wp-config.php file:

define('WP_AUTO_UPDATE_CORE', false);

This will disable all automatic WordPress updates.

Important: Make sure you read our article on how to safely edit the wp-config.php file in WordPress with step-by-step instructions.

If you want to receive minor core updates but disable theme and plugin updates, you can do so by adding the following filters to your theme’s functions.php file or a site-specific plugin.

Disable automatic WordPress plugin updates:

add_filter('auto_update_plugin', '__return_false');

Disable automatic WordPress theme updates:

add_filter('auto_update_theme', '__return_false');

We hope that this post has shown you how to turn off automatic updates on WordPress.

Whether you’re using automatic or manual updates, it’s crucial to make sure you have regular backups of your site. Take a look at our comparison of the best WordPress backup plugins and our guide on how to restore your WordPress site from a backup.

How to disable automatic updates for WordPress plugins (UI)

Add the following filter to your site to disable the UI portion (link) of the WordPress dashboard for automatic plugin updates. The free Code Snippets plugin is recommended. You can also include it in the functions.php file of your website.

add_filter( 'plugins_auto_update_enabled', '__return_false' );

How to disable automatic updates for WordPress themes

Add the following filter to your site to disable the UI part (link) of the WordPress dashboard for automatic theme upgrades. The free Code Snippets plugin is recommended. You can also include it in the functions.php file of your website.

add_filter( 'themes_auto_update_enabled', '__return_false' );

Disable all automatic updates

Add the following to your wp-config.php file to prevent WordPress auto-updates for all aspects of your site. Note: If you don’t keep up with your updates and maintain eyes on everything, I don’t advocate this strategy.

define( 'automatic_updater_disabled', true );

Disable only core updates

Some hosting companies may automatically update the core after a period of time. You may prevent this by including the following code in your wp-config.php file.

define( 'wp_auto_update_core', false );

Comments:

Only minor updates (WordPress 5.5.1, 5.5.2, etc.) are applied automatically if you use a WordPress hosting service. Minor updates aren’t normally responsible for breaking sites, and you’ll still get security fixes, so this is one of the most popular options. After using the staging environment to test it, you can manually update major releases.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

accuwebhosting
Golam Mostafa
Written by

Golam Mostafa

I'm a senior plugin developer for WordPress. I have four years of experience working as a software engineer for ADB Bank, and in 2018, I started developing plugins and founded ThemeDev.

Table of Content

Table of Contents

LTD Deals: 10+ Pro Plugins

Limited Time Offer
LTD Deals: 10+ Pro Plugins

Offer ends soon! Don't let it get away this time!

(NO RECURRING FEES)

Trusted by 25,099+ Customers

30 days Money Back Guarantee