How To Disable Automatic Updates In WordPress

Check Out More At: WP Beginner

WordPress: Best WordPress Plugins | WordPress Tutorials

How To Disable Automatic Updates In WordPress

Product Image Product Name / Primary Rating / Price Primary Button / Description
Best Wordpress Page Builder
  • Description:

    Elementor is an amazing website builder plugin for WordPress. Elementor makes it easy to create beautiful and high converting websites yourself without having to learn code.

Best WordPress Form Builder
  • Description:

    Gravity Forms is a WordPress plugin that creates powerful forms quickly and easily, with drag-and-drop fields, custom notifications and confirmations, and custom styling capability.

Best WordPress Theme
  • Description:

    Kadence Theme is a powerful, intuitive and flexible WordPress theme that offers an expansive set of features and customization options.

    It includes a robust page builder, beautiful design options, mobile-friendly responsiveness, powerful SEO tools and optimized performance for faster loading times.

    It's perfect for creating stunning websites without needing to write any code.

Best Wordpress Cloud Hosting
  • Description:

    Cloudways is a managed cloud hosting platform that simplifies cloud infrastructure deployment and management.

    It provides an intuitive dashboard, automated backups and optimized stack for speedy performance. It also provides 24x7 support with multiple server locations, enabling businesses to host their applications quickly and securely.

Best Budget WordPress Host
  • Description:

    Bluehost is an easy to use web hosting provider offering reliable, secure and affordable hosting solutions with 24/7 customer support.

Best Wordpress Page Builder
Primary Rating:
4.5
N/A
Description:

Elementor is an amazing website builder plugin for WordPress. Elementor makes it easy to create beautiful and high converting websites yourself without having to learn code.

Best WordPress Form Builder
Primary Rating:
3.5
N/A
Description:

Gravity Forms is a WordPress plugin that creates powerful forms quickly and easily, with drag-and-drop fields, custom notifications and confirmations, and custom styling capability.

Best WordPress Theme
Primary Rating:
3.5
N/A
Description:

Kadence Theme is a powerful, intuitive and flexible WordPress theme that offers an expansive set of features and customization options.

It includes a robust page builder, beautiful design options, mobile-friendly responsiveness, powerful SEO tools and optimized performance for faster loading times.

It's perfect for creating stunning websites without needing to write any code.

Best Wordpress Cloud Hosting
Primary Rating:
3.5
N/A
Description:

Cloudways is a managed cloud hosting platform that simplifies cloud infrastructure deployment and management.

It provides an intuitive dashboard, automated backups and optimized stack for speedy performance. It also provides 24x7 support with multiple server locations, enabling businesses to host their applications quickly and securely.

Best Budget WordPress Host
Primary Rating:
4.0
$3.95/Mo
Description:

Bluehost is an easy to use web hosting provider offering reliable, secure and affordable hosting solutions with 24/7 customer support.

Lasso Brag

One of the great things about WordPress is that it automatically updates itself by default. However, there are some cases where you might want to disable this behavior, especially if you manage multiple WordPress sites.

In this article, we’ll show you how to disable automatic updates in WordPress so you can take full control of when and what gets updated on your site.

First, let’s take a look at why you might want to disable automatic updates in WordPress.

As we mentioned, WordPress automatically updates itself whenever a new version is released. For most users, this is a good thing as it keeps their site secure and up-to-date with the latest features.

However, there are some drawbacks to this automatic updating behavior.

First, if you’re managing multiple WordPress sites, updating each one manually can be a time-consuming process.

Second, if you’re running an older version of WordPress, you might not be able to use some of the newer features and plugins that require a newer version of the software.

Finally, in some rare cases, a new WordPress update can break your site. This is most likely to happen if you’re using a custom theme or plugin that isn’t compatible with the new version.

While the risks of automatic updates are usually low, they’re still worth considering if you’re running a mission-critical site or if you simply want more control over when and what gets updated on your WordPress site.

With that said, let’s take a look at how to disable automatic updates in WordPress.

How To Disable Automatic Updates In WordPress

Disabling automatic updates in WordPress is a two-step process.

First, you need to add a line of code to your WordPress config file.

Second, you need to add a filter to your site’s functions.php file.

We’ll walk you through both of these steps below.

Step 1: Add A Line Of Code To Your wp-config.php File

The first thing you need to do is add a line of code to your WordPress config file.

This file is located in the root directory of your WordPress site (where your index.php file is located).

To edit your config file, you can use a File Manager app like Cyberduck or Filezilla. Or, you can edit the file directly on your server using a tool like Nano or Vim.

Once you’ve accessed your config file, add the following line of code to it:

define(‘WP_AUTO_UPDATE_CORE’, false);

This line of code will disable automatic updates for your WordPress core files.

If you want to disable automatic updates for plugins and themes as well, you can add the following line of code to your config file:

define( ‘AUTOMATIC_UPDATER_DISABLED’, true );

Once you’ve added the code to your config file, save it and upload it back to your server.

Step 2: Add A Filter To Your site’s functions.php File

The second step is to add a filter to your site’s functions.php file.

This file is located in your WordPress theme’s directory (you can find it by going to Appearance > Editor in your WordPress admin panel).

Once you’ve opened your functions.php file, add the following code to it:

add_filter( ‘allow_major_auto_core_updates’, ‘__return_false’ );

This filter will disable automatic updates for major releases (e.g. from WordPress 4.

Similar Posts