WordPress turn off auto update

New Page

How to Disable Automatic Updates in WordPress

Last Updated On Sep 9, 2022 By Editorial Team | Reader Disclosure Disclosure : Our content is endorsed by the reader. This means that if you click on some of our links, we may earn a commission. See how WPBeginner is funded, why it’s important, and how you can support us.

Share 846 Fee Tweet Fee Facebook Messenger WhatsApp Email

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

Despite the security benefits, there is a small chance that these background updates could harm your website.

Dans cet article, we will show you how to disable automatic updates in WordPress, so you can update manually on your own.

Disable automatic updates in WordPress Disabling automatic updates in WordPress

Since WordPress auto-refreshes

WordPress automatically updates WordPress core software with security zones.

With veces, también puede actualizar un complemento o un tema para corregir una potencial amenaza. For example, a WordPress theme addon could be updated to eliminate a critical vulnerability. If a lot of websites are using these add-ons or themes, the central WordPress gear can initiate an automatic refresh for them.

Apart from these situations, WordPress lets you decide until you install updates.

There is no recommendation to disable automatic WordPress updates. Its an important safety feature.

However, in some rare situations, updates may damage your website or affect its functionality. This could lead you to lose business and customers.

If you are sure that you can manage manual updates yourself, you can safely disable automatic updates in WordPress.

  • Method 1. Disable WordPress Auto-Refresh Using Code (Recommended)
  • Method 2. Configure and Disable Automatic WordPress Refreshes with an Add-in

Video tutorial

Subscribe to WPBeginner

If you prefer written instructions, read on.

Method 1. Disable WordPress Auto-Refresh Using Code (Recommended)

You can disable automatic updates in WordPress by adding this line of code in your wp-config.php file:

1

set(‘WP_AUTO_UPDATE_CORE’, false);

You disable all automatic WordPress updates.

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

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

Disable automatic WordPress plugin updates:

1

add_filter( ‘auto_update_plugin’ , ‘__return_false’ );

Disable automatic WordPress theme updates:

1

add_filter( ‘auto_update_theme’ , ‘__return_false’ );

But, an easier and safer way to do it is by using the WPCode code snippets plugin.

Complément des fragments de code de WordPress WPCode Plugin d'extraits de code WordPress WPCode

WPCode makes it easy to add code snippets in WordPress without editing your theme’s functions.php file.

Plus, it comes with a built-in code library where you can find PHP code snippets for popular feature requests like disabling automatic WordPress updates, disabling REST API, disabling comments, and more.

This eliminates the need to install a bunch of single-use plugins.

To get started, you need to install and activate the free WPCode plugin. If you need help, see our guide on how to install a WordPress plugin.

Once the plugin is activated, head to Code Snippets » Library from your WordPress admin dashboard.

Then, search for the ‘Disable Automatic Updates’ snippet and click on the ‘Use snippet’ button.

Elija el fragmento Deshabilitar actualizaciones automáticas de la biblioteca WPCode Choose the Disable Automatic Updates snippet from WPCode library

WPCode will then automatically add the code snippet and select the proper insertion method.

The code snippet has three filters to disable WordPress core updates, plugin updates, and theme updates.

Fragmento de Deshabilitar actualizaciones automáticas de WPCode WPCode's Disable Automatic Updates snippet

If you don’t want to use one of these filters, simply edit the code to add an //at the beginning of the filter line.

For example, adding an // to the core auto-updates filter line will prevent it from executing. So, you’ll still get automatic updates for the core, but not for plugins and themes.

Edit the Disable Automatic Update filters Edit the Disable Automatic Update filters

After that, all you need to do is toggle the switch from ‘Inactive’ to ‘Active.’

Then, click on the ‘Update’ button.

Activate and update snippet in WPCode Activate and update snippet in WPCode

That’s it. You’ve now disabled automatic updates in WordPress.

Method 2. Configuring and Disabling Automatic WordPress Updates With a Plugin

Another way to disable automatic WordPress updates is by installing and activating the Easy Updates Manager plugin. If you’re not sure how to do that, take a look at our step by step guide on how to install a WordPress plugin.

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

Configuring the settings for the Easy Updates Manager plugin Configuring the settings for the Easy Updates Manager plugin

You can choose to ‘Disable all updates’, but we don’t recommend this option. Primarily because it’ll prevent all update notifications from appearing.

Instead, you should pick the settings you want. You could disable plugin and theme auto-updates, but leave the standard core WordPress auto-updates enabled.

Disabling automatic plugin and theme updates while leaving minor core auto updates enabled Disabling automatic plugin and theme updates while leaving minor core auto updates enabled

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

Easy Updates Manager keeps a log of what’s updated, so if anything does break on your site, you can rollback to a previous working version. To view this, go to Dashboard » Updates Options and then click the ‘Logs’ tab.

The logs tab of the Easy Updates Manager plugin The logs tab of the Easy Updates Manager plugin

There’s also a premium version of Easy Updates Manager, which offers a lot of extra options. For instance, it integrates with UpdraftPlus so that you can automatically run a backup of your site before updates are applied.

Pros and Cons of Automatic WordPress Updates

Now you know how to disable automatic updates, but should you disable them? There’s no right answer and this depends on you and your website.

On our sites, we’ve disabled automatic plugin and theme updates while keeping the minor core updates enabled.

Let’s take a look at the advantages and disadvantages of automatic updates. That way, you can decide whether to disable auto-updates on your site.

Advantages of Automatic Updates in WordPress

Automatic updates are great for WordPress security. Many users forget to update their plugins or their core WordPress installation.

With automatic WordPress updates enabled, you don’t have to worry about updating your site whenever a minor update to WordPress is released. These are pushed out for maintenance and security purposes.

In the past, automatic updates were something you only got by paying for managed WordPress hosting. Now, they’re available for everyone (at least for minor releases).

You also know that if there’s a crucial security issue with WordPress or a popular plugin, then WordPress will automatically update. Even if you’re busy or away from home, your site will stay secure.

If you have a lot of sites, then automatic updates can save you quite a bit of time. And even if you only have one site, you might prefer the peace of mind of knowing that WordPress is taking care of things.

Disadvantages of Automatic Updates in WordPress

The core WordPress team responsible for releasing updates makes sure that it goes without a hiccup.

However, there is a slight chance that automatic updates can break your site. In our experience, the minor releases haven’t broken any of our sites yet.

That’s because we are following the best practices and not modifying any core files. If you modify WordPress core files, then these automatic updates can override them.

If WordPress ever felt it necessary to push out a security update for a theme you are using, there is a chance that it will break your website. This particularly applies if you have modified your theme files.

Automatic plugin updates can potentially break your site as well. There are just too many variables, such as different server environments and plugin combinations.

Now it’s important to know that these updates will not break the vast majority of websites. Even so, you may feel you don’t want to take the risk.

Another drawback is that you won’t always automatically get a notification when your site is updated.

Should I Disable Automatic WordPress Updates?

Basically, it is up to you to make this decision.

For most beginners and the vast majority of WordPress websites, automatic updates are harmless, and you should not disable them.

However, if you run an online store or don’t want to lose business due to a broken site, then you can safely turn off automatic updates.

Still, make sure that you manually install those updates in a timely manner to ensure your website’s security.

We hope this article helped you learn how to disable automatic updates in 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.

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.

Comparte 846 Cuota Pío Cuota Facebook Messenger WhatsApp Correo electrónico

Fotografía tomada desde arriba de una persona escribiendo en una computadora portátil Mac con un espresso al lado Photograph taken from overhead of a person typing on a mac laptop with an espresso next to it

How to Disable Automatic WordPress Updates

Posted in WordPress by WP Engine

Last updated on September 19th, 2022

Have you ever gone to check on your WordPress site, only to find your WordPress theme broken, plugin functionality crippled, or major features moved and changed? If so, you may have been surprised to find that the WordPress auto update was to blame.

A WordPress user can avoid this problem by disabling auto updates in WordPress. This gives you more control over your site, enabling you to test updates for compatibility and avoid potentially unwanted feature changes. Of course, it also means you’ll need to manually update WordPress to the latest version in order to patch potential security holes.

In this article, we’ll explain why you might want to disable automatic WordPress updates. Then we’ll show you how to do just that, using code or a simple WordPRess plugin. Let’s dive right in!

Why Disable Automatic WordPress Updates?

Generally speaking, automatic updates in WordPress are a good thing, and we’d recommend that most users leave them enabled, especially for a security update. However, there are some cases when disabling some or all automatic updates may be beneficial to a WordPress user. 

The main reason to disable a WordPress automatic updates is that they can sometimes break a website. Most of the time, updates are thoroughly tested, and there won’t be any problems. This is especially true with WordPress core, as well as many popular themes updates and plugins.

With that being said, developers can’t possibly test their software with every possible combination of plugins and themes. If you have tools installed that are built for a certain WordPress version of WordPress, or rely on other plugins, a WordPress update can cause compatibility issues with the others. In rare cases, this could cause a chain reaction that brings down an entire website or cripples mission-critical functionality. 

Another potential issue with WordPress auto updates is unwanted new feature changes. If you remember the launch of the WordPress Block Editor, formerly known as Gutenberg, you probably also remember the controversy surrounding it. Despite plenty of advance notice, many users experienced disruptions to their workflows because they weren’t prepared.

For these reasons, if your site is a vital part of your business, the usual best practice is to review and test updates first before applying them to your live site.

Pros and Cons of Disabling WordPress Updates

Before moving forward, however, it’s important to know that there are both advantages and disadvantages when you disable an automatic update. Let’s explore the most important considerations in more detail.

Pros of Disabling Updates

  • You have more control over changes to your website.
  • You can make sure that all your plugins and themes work with new updates, avoiding site errors and broken functionality.
  • You don’t have to worry about theme and automatic plugin updates overwriting any manual changes you’ve made.

Cons of Disabling Updates

  • You may miss important security updates, leaving your website vulnerable.
  • Reviewing and applying updates manually can be time-consuming, especially if you have multiple sites to keep updated.

How to Disable Automatic Updates: No Plugin

You can turn off automatic updates for WordPress core files, plugins, and themes simply by adding a few code snippets to your files. Here’s how to get started.

Step 1: Add Code to Your wp-config File

To turn off automatic updates for WordPress core, you just have to add the following code to your wp-config.php file:

define( ‘WP_AUTO_UPDATE_CORE’, false );

To access the file, you’ll need to either use a File Transfer Protocol (FTP) solution (we recommend the free FileZilla client) or the file manager in your web host’s cPanel. 

Once you have access to your site’s files, you can find wp-config.php by navigating to app > public. Open up the file and add the code snippet towards the end, right above the line that says /* That’s all, stop editing! Happy publishing. */:

Imagen de cómo agregar código a su archivo wp-config Image of how to add code to your wp-config file

Now WordPress will no longer install updates automatically. This only applies to the WordPress core updates, however. If you want to disable updates for plugins and themes as well, proceed to the next step.

Step 2: Disable Automatic Updates by Adding Filter Code

To stop your plugins and themes from updating automatically, you need to add a line of code to your theme’s functions.php file. You don’t need a file browser or FTP client for this one – you can access this file by heading to your WordPress dashboard and navigating to Appearance > Theme Editor:

imagen que muestra cómo deshabilitar las actualizaciones automáticas agregando un código de filtro en los temas de edición de WordPress image showing how to disable automatic updates by adding filter code in WordPress edit themes

Select your theme and open up function.php from the list on the right. Then, to disable automatic plugin updates, add the following code to the bottom of the file:

add_filter( ‘auto_update_plugin’, ‘__return_false’ );

To turn off updates for themes, use this code:

add_filter( ‘auto_update_theme’, ‘__return_false’ );

If you want to turn them off for both your theme and any plugins you’re using, simply add both lines:

Imagen que muestra cómo desactivar las actualizaciones de un tema que está usando en WordPress con código Image showing how to turn off updates for a theme you're using in WordPress with code

Now you have automatic updates turned off for WordPress core, themes, and plugins. You can mix and match these in any combination you like, in order to create an update solution that works for you.

How to Disable Automatic Updates: With a Plugin

WordPress is nothing if not flexible. So if you prefer to use a plugin to disable updates instead of code, you’re in luck. All you need to do is install and activate an update manager plugin and configure your preferences.

Step 1: Download an Update Manager Plugin

There are a number of WordPress plugins available to help you manage updates, but we recommend Easy Updates Manager:

Imagen del logotipo del complemento Update Manager para WordPress Image of Update Manager Plugin logo for WordPress

This solution enables you to easily manage updates for your entire WordPress site, including core files, themes, and plugins. It also works with WordPress multisite installations.

To install the plugin, head to your WordPress dashboard and navigate to Plugins > Add New. Search for “Easy Updates Manager”, and it should be the first option. Click on Install and then Activate.

Step 2: Configure Your Update Options

Easy Updates Manager offers incredibly fine-grained control over the updates on your site. To configure its options, head to your WordPress dashboard and click the new Updates Options link in the sidebar:

Imagen que muestra dónde configurar sus opciones de actualización en el menú de WordPress Image showing where to configure your update options in WordPress menu

This will take you to the Easy Updates Manager settings. If you want to turn off all updates, just toggle the “Disable all updates” option:

Imagen de cómo desactivar "deshabilitar todas las actualizaciones" en Easy Updates Manager Image of how to toggle off "disable all updates" in Easy Updates Manager

You can also toggle individual categories, like plugins, themes, WordPress core, and translation. If that’s still not enough control, you can dig into each category and set preferences for every WordPress theme and plugin individually:

Imagen de cómo alternar categorías individuales como complementos, temas, núcleo de WordPress y traducción Image of how to toggle individual categories like plugins, themes, WordPress core, and translation

There’s no need to save these changes when you’re done. Just set your preferences however you want them, and they’ll take effect automatically.

Keep Your Site in Shape with WP Engine

If you need more control over your site, disabling WordPress installation for new updates can give it to you. This also enables you to vet a plugin update before installing the new version and updating WordPress, to ensure compatibility and maximize uptime on your site.

If you need more ways to keep your website in shape, WP Engine can help. We offer the best resources (in addition to providing 24/7 WordPress help and support services) to keep your site running at peak performance!

Fotografía tomada desde arriba de una persona escribiendo en una computadora portátil Mac con un espresso al lado Photograph taken from overhead of a person typing on a mac laptop with an espresso next to it

How to Disable Automatic WordPress Updates

Posted in WordPress by WP Engine

Last updated on September 19th, 2022

Have you ever gone to check on your WordPress site, only to find your WordPress theme broken, plugin functionality crippled, or major features moved and changed? If so, you may have been surprised to find that the WordPress auto update was to blame.

A WordPress user can avoid this problem by disabling auto updates in WordPress. This gives you more control over your site, enabling you to test updates for compatibility and avoid potentially unwanted feature changes. Of course, it also means you’ll need to manually update WordPress to the latest version in order to patch potential security holes.

In this article, we’ll explain why you might want to disable automatic WordPress updates. Then we’ll show you how to do just that, using code or a simple WordPRess plugin. Let’s dive right in!

Why Disable Automatic WordPress Updates?

Generally speaking, automatic updates in WordPress are a good thing, and we’d recommend that most users leave them enabled, especially for a security update. However, there are some cases when disabling some or all automatic updates may be beneficial to a WordPress user. 

The main reason to disable a WordPress automatic updates is that they can sometimes break a website. Most of the time, updates are thoroughly tested, and there won’t be any problems. This is especially true with WordPress core, as well as many popular themes updates and plugins.

With that being said, developers can’t possibly test their software with every possible combination of plugins and themes. If you have tools installed that are built for a certain WordPress version of WordPress, or rely on other plugins, a WordPress update can cause compatibility issues with the others. In rare cases, this could cause a chain reaction that brings down an entire website or cripples mission-critical functionality. 

Another potential issue with WordPress auto updates is unwanted new feature changes. If you remember the launch of the WordPress Block Editor, formerly known as Gutenberg, you probably also remember the controversy surrounding it. Despite plenty of advance notice, many users experienced disruptions to their workflows because they weren’t prepared.

For these reasons, if your site is a vital part of your business, the usual best practice is to review and test updates first before applying them to your live site.

Pros and Cons of Disabling WordPress Updates

Before moving forward, however, it’s important to know that there are both advantages and disadvantages when you disable an automatic update. Let’s explore the most important considerations in more detail.

Pros of Disabling Updates

  • You have more control over changes to your website.
  • You can make sure that all your plugins and themes work with new updates, avoiding site errors and broken functionality.
  • You don’t have to worry about theme and automatic plugin updates overwriting any manual changes you’ve made.

Cons of Disabling Updates

  • You may miss important security updates, leaving your website vulnerable.
  • Revisar y aplicar actualizaciones manualmente puede llevar mucho tiempo , especialmente si tiene varios sitios para mantenerse actualizado.

Cómo deshabilitar las actualizaciones automáticas: sin complemento

Puede desactivar las actualizaciones automáticas para los archivos principales, complementos y temas de WordPress simplemente agregando algunos fragmentos de código a sus archivos. Aquí le mostramos cómo empezar.

Paso 1: agregue código a su archivo wp-config

Para desactivar las actualizaciones automáticas para el núcleo de WordPress, solo tiene que agregar el siguiente código a su archivo wp-config.php :

define( ‘WP_AUTO_UPDATE_CORE’, false );

Para acceder al archivo, deberá usar una solución de Protocolo de transferencia de archivos (FTP) (recomendamos el cliente FileZilla gratuito ) o el administrador de archivos en el cPanel de su servidor web. 

Una vez que tenga acceso a los archivos de su sitio, puede encontrar wp-config.php navegando a app > public . Abra el archivo y agregue el fragmento de código hacia el final, justo encima de la línea que dice /* Eso es todo, ¡deje de editar! Feliz publicación. */:

Imagen de cómo agregar código a su archivo wp-config Image of how to add code to your wp-config file

Ahora WordPress ya no instalará actualizaciones automáticamente. Sin embargo, esto solo se aplica a las actualizaciones principales de WordPress. Si también desea deshabilitar las actualizaciones para complementos y temas, continúe con el siguiente paso.

Paso 2: deshabilite las actualizaciones automáticas agregando un código de filtro

Para evitar que sus complementos y temas se actualicen automáticamente, debe agregar una línea de código al archivo functions.php de su tema. No necesita un explorador de archivos o un cliente FTP para este; puede acceder a este archivo dirigiéndose a su panel de control de WordPress y navegando a Apariencia> Editor de temas:

imagen que muestra cómo deshabilitar las actualizaciones automáticas agregando un código de filtro en los temas de edición de WordPress image showing how to disable automatic updates by adding filter code in WordPress edit themes

Seleccione su tema y abra function.php de la lista de la derecha. Luego, para deshabilitar las actualizaciones automáticas de complementos, agregue el siguiente código al final del archivo:

add_filter( ‘auto_update_plugin’, ‘__return_false’ );

Para desactivar las actualizaciones de temas, utilice este código:

add_filter( ‘auto_update_theme’, ‘__return_false’ );

Si desea desactivarlos tanto para su tema como para cualquier complemento que esté usando, simplemente agregue ambas líneas:

Imagen que muestra cómo desactivar les actualizaciones d'un thème qui est utilisé dans WordPress con código Image montrant comment désactiver les mises à jour pour un thème que vous utilisez dans WordPress avec du code

Ahora tiene las actualizaciones automáticas desactivadas para el núcleo, los temas y los complementos de WordPress. Puede mezclarlos y combinarlos en cualquier combinación que desee para crear una solución de actualización que funcione para usted.

Cómo deshabilitar las actualizaciones automáticas: con un complemento

WordPress no es más que flexible. Entonces, si prefiere usar un complemento para deshabilitar las actualizaciones en lugar del código, está de suerte. Todo lo que necesita hacer es instalar y activar un complemento del administrador de actualizaciones y configurar sus preferencias.

Paso 1: Descargue un complemento del Administrador de actualizaciones

Hay una serie de complementos de WordPress disponibles para ayudarlo a administrar las actualizaciones, pero recomendamos Easy Updates Manager :

Image du logotype du complément Update Manager pour WordPress Image du logo du plugin Update Manager pour WordPress

Esta solución le permite administrar fácilmente las actualizaciones de todo su sitio de WordPress, incluidos los archivos principales, los temas y los complementos. También funciona con instalaciones multisitio de WordPress .

Para instalar el complemento, diríjase a su panel de WordPress y navegue a Complementos> Agregar nuevo. Busque “Easy Updates Manager”, y debería ser la primera opción. Haga clic en Instalar y luego en Activar.

Paso 2: configure sus opciones de actualización

Easy Updates Manager ofrece un control increíblemente detallado sobre las actualizaciones en su sitio. Para configurar sus opciones, diríjase a su panel de control de WordPress y haga clic en el nuevo enlace Opciones de actualizaciones en la barra lateral:

Imagen que muestra dónde configurar sus opciones de actualización in el menú de WordPress Image montrant où configurer vos options de mise à jour dans le menu WordPress

C’est à from the Easy Updates Manager configuration. If you want to disable all updates, just toggle the “Disable all updates” option:

Imagen de cómo desactivar "deshabilitar todas las actualizaciones" en Easy Updates Manager Image illustrant comment désactiver "désactiver toutes les mises à jour" dans Easy Updates Manager

You can also toggle individual categories, such as plugins, themes, WordPress core, and translation. If that still doesn’t control you, you can drill down into each category and set preferences for each WordPress theme and plugin individually:

Image of how to toggle individual categories like plugins, themes, WordPress core and translation Image of how to toggle individual categories like Plugins, Themes, WordPress Core and Translation

You do not need to save these changes when you are done. Just set your preferences as you like and they will be applied automatically.

Keep your site in shape with WP Engine

If you need more control over your site, disable the WordPress installation for further updates puede dárselo. It also helps to check for an add-in’s update before installing the new version and update of WordPress, to ensure compatibility and maximize uptime on the site.

If you need additional support forms on your website, WP Engine can help. We offer the best resources (as well as providing 24/7 WordPress help and support services) to keep your site running at peak performance!

Google Google translator

Google Google Translate


Video WordPress turn off auto update

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress leverage browser caching

Contents1 Aproveche el almacenamiento in hidden del navegador1.1 Will it works for my website?1.2 Where are plugin options1.3 Some JavaScript files still display under Leverage Browser Caching1.4…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…