Although the WordPress auto update feature is very useful for websites, there are usually several reasons why we might need to disable it.
Auto update is a WordPress feature introduced in version WordPress 3.7 which was released on October 24, 2013.
If you find that a theme or plugin is incompatible when performing a WordPress update, you can disable this auto update feature so that WordPress does not update automatically and cause errors on your website.
To check if the latest version of WordPress will cause errors, you can try it out on localhost first or use a WordPress staging site.
How to Disable WordPress Auto Updates
As usual, we have two options for disabling WordPress auto updates. You can do it manually via the functions.php file in your active theme, or you can use a plugin.
Manually Disabling WordPress Auto Updates
Because this manual method requires a few lines of code, you need to edit the functions.php file in your active theme, either through the WordPress dashboard, your file manager, or by using FTP.
To add code to your active theme's functions file, you can follow this tutorial: How to Add Code to WordPress Functions, then in that functions file, add the lines of code below to disable the auto update feature.
Add these lines of code to disable the WordPress core auto update feature
define( 'WP_AUTO_UPDATE_CORE', false );Use the code below to disable the WordPress theme auto update feature
add_filter( 'auto_update_theme', '__return_false' );Then, if you want to disable the WordPress plugin auto update feature, you can use this code
add_filter( 'auto_update_plugin', '__return_false' );If you want to disable all auto update features, you can simply add all three codes above to your functions file, and the auto update feature will be turned off.
Disabling WordPress Auto Updates with a Plugin
Unlike the manual method that requires adding code, using a plugin means you no longer need to find the functions.php file or add any code.
Easy Updates Manager is a recommended plugin for disabling WordPress auto update features, as this plugin allows you to disable auto updates for WordPress Core, specific plugins and themes, and even manage WordPress update logs.
If you have never uploaded a plugin manually before, you can follow the tutorial on this page: How to Upload a WordPress Plugin.
Is the plugin installed? Now we can try to disable WordPress auto updates.
First, to open the auto update manager page, you can go to the menu wp-admin → Dashboard → Updates Options.
From the Updates Options page, you can configure auto updates, from updates for minor releases, to nightly (development) updates, or you can also disable all auto update features.
Next, to disable auto updates for specific themes or plugins, you can open the tab Plugins or Themes, and a list of plugins or themes will appear where you can enable or disable their auto update features.
So, isn't it quite easy to disable the WordPress auto update feature?
Although it is very easy to do, it is still recommended to keep updating your themes or plugins to the latest versions, because if you do not update to the latest version, those plugins or themes could become security vulnerabilities on your website.
COMMENTS
Loading...