How to Disable Automatic WordPress Updates | HostAdvice

How to Disable Automatic WordPress Updates

Automatic updates are important because they keep your WordPress installation up-to-date with the most recent security fixes as well as general WordPress updates and additions. WordPress professionals do not recommend disabling these automatic updates since they are important security features for your website.

While automatic updates install on your site, the major problem that can occur in some rare cases, these auto-updates can break your website and affect your website’s functionality. Therefore, you should be aware of these kinds of risks. This can happen due to incompatibility between the theme, plugins, and code modifications. In this situation, we advise you to restore your WordPress website using backup essentials.

If you have enough knowledge about WordPress themes, code, and plugins, you can disable WordPress automatic updates using different methods and manage all updates manually.

In this guide, we will show you how to disable automatic updates in WordPress.

How to Disable WordPress auto-updates?

It is recommended that you should not disable WordPress automatic updates unless it is necessary to do so. However, by following the two different methods we can disable automatic updates on your WordPress website.

Method 01: Disable automatic updates using custom code

If you are an expert in WordPress code modification then, you can disable WordPress updates by adding custom code in the “wp-config.php” and “functions.php” files. To disable WordPress auto-updates, follow the below-mentioned steps:

Step 1: To disable all WordPress auto-updates, open the “wp-config.php” file. Login into the control panel and using the FTP client, access the “wp-config.php” configurations. Here, click on the edit options to add the following code:

define( 'AUTOMATIC_UPDATER_DISABLED', true );
However, if you only want to disable the WordPress core update then, add the following source code:
define( 'WP_AUTO_UPDATE_CORE', false );

Step 2: If you want to disable WordPress auto-updates related to themes and plugins, open the “function.php” configuration file. Disable the WordPress theme update by inserting the following code:

 add_filter('auto_update_theme', '__return_false');
To disable the WordPress plugins auto-updates, use this code:
add_filter('auto_update_plugin', '__return_false')
]

Finally, all WordPress auto-updates related to core, theme, and Plugins have been disabled now. You can update each element based on your needs.

Method 02: Disable WordPress auto-updates using a Plugin

If you are not comfortable with custom code modification, you can disable auto-updates using a WordPress plugin by using the following guidelines:

First, install a plugin for this task. Different plugins are available for disabling automatic WordPress updates. Here, we will use the “Easy Updates Manager Plugin”. Open the WordPress Dashboard Navigate into the plugins and click on ‘Add New’.

Once the plugin is installed and activated on your WordPress site, move into the “Updates options” from the Dashboard.

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

You can select ‘Disable all updates’, but this is not recommended because it will prevent all update alerts from being displayed.

Easy Updates Manager plugin keeps track of what has been modified, allowing you to roll back to a previous working version if something goes wrong. Go to Dashboard » Updates Options and then click the ‘Logs’ tab to see this.

Conclusion

In this article, we explained in detail how to disable automatic updates on the WordPress website. Most users are confused about whether or not we should disable automatic updates in WordPress. Enabling and disabling automatic updates has some pros and cons, depending on the user’s requirements.

We strongly advise you not to disable these updates on your website. I hope this how-to guide helped you to learn how to disable WordPress auto-updates using or without using a plugin. Thanks!

How To Set up a VSFTPD Server on a CentOS 7 VPS or Dedicated Server

Brief Description FTP is usually insecure exposing clear-text passwords, userna
2 min read
Avi Ilinsky
Avi Ilinsky
Hosting Expert

How To Set up a VSFTPD Server on an Ubuntu 16.04 VPS or Dedicated Server

Brief Description FTP data is usually insecure since information (usernames, pa
2 min read
Eliran Ouzan
Eliran Ouzan
Web Designer & Hosting Expert

How to use phpMyAdmin to develop a website (without MySQL experience)

Brief description A web developer who is not well versed into coding websites f
2 min read
Idan Cohen
Idan Cohen
Marketing Expert

How to Install MySQL on a Windows Web Server Running Apache

This tutorial will show you how to install the MySQL database on a Windows serve
3 min read
Michael Levanduski
Michael Levanduski
Expert Hosting Writer & Tester
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top