How to Disable Automatic Updates on a WordPress Website
Something updated overnight and now a page is broken. That is how most people arrive at this question, and the instinct is to disable automatic updates in WordPress entirely, immediately, everywhere. You can. It takes one line in wp-config.php. Before you add it, it is worth knowing exactly which four things WordPress updates on its own, because switching off all of them to stop one of them is how a working site becomes an unpatched one.
This covers the dashboard toggles, the configuration constants, and the filter approach for a single plugin, along with what each one leaves running.
What WordPress Updates on Its Own
Automatic background updates arrived in WordPress 3.7, and there are four separate categories:
- Core minor and security releases. The 6.9.1 style releases. On by default everywhere.
- Core major releases. The 6.9 to 7.0 style jumps. On by default for installations created since WordPress 5.6, off for older installations unless an administrator, constant, or filter turned them on.
- Plugins and themes. Off by default, enabled per item since WordPress 5.5.
- Translation files. On by default.
That second point catches people out. A site installed five years ago and a site installed last month can behave completely differently on major releases, with no setting visibly different between them. If you have never checked which behaviour yours has, Dashboard > Updates states it in plain language near the top.
One more default worth knowing: WordPress disables core auto-updates on its own if it detects a version control checkout in the install directory. Sites deployed from Git often have no core auto-updates at all and nobody has ever configured that deliberately.
Should You Disable Automatic Updates at All?
For most sites, the honest answer is partly. Not all of it.
Minor core releases are almost entirely security and bug fixes, they ship rarely, and the WordPress security team backports patches into them precisely so that sites can take them without a compatibility review. Disabling that category means you are now personally responsible for applying every security patch within hours of disclosure, on every site you run. Very few small teams actually do that, and an unpatched WordPress install is a far more common cause of trouble than a bad minor update.
The categories worth switching off are different: major core releases and plugin auto-updates. Both can carry breaking changes, both benefit from being applied on a staging site first, and neither has a security argument nearly as strong as the minor release channel.
So the configuration most agencies settle on looks like this:
| Category | Recommended | Why |
|---|---|---|
| Core minor and security | Leave on | Security patches, rarely breaking |
| Core major | Off | Breaking changes, deserves a staging test |
| Plugins | Off, or on for a trusted few | Where update breakage actually comes from |
| Themes | Off | Same reasoning as plugins |
| Translations | Leave on | No functional risk |
If your own testing shows a reason to go further, go further. Just make the choice for each category rather than reaching for the single constant that kills all four.
How to Disable Plugin Auto-Updates from the Dashboard
No code needed, and this is the right starting point because plugin updates are where most breakage originates.
Go to Plugins > Installed Plugins. The rightmost column is Automatic Updates, and each row shows either “Enable auto-updates” or “Disable auto-updates”. Click the disable link on any plugin currently configured to update itself. The choice is stored in the auto_update_plugins site option as an array of plugin files, not in the plugin’s own settings, which is why reinstalling a plugin does not reset it.
For a site with fifty plugins, use the bulk action instead. Tick the checkbox in the header row to select everything, choose Disable auto-updates from the Bulk actions dropdown, and apply. Themes work the same way under Appearance > Themes, though the toggle sits inside each theme’s detail popup rather than in a column.
Two things about this screen. On multisite, the auto-update column appears in the network admin only, since plugin activation is a network level concern. And if the column is missing entirely, a plugin or your host has filtered it out, which is covered further down.
If you have WP-CLI, the whole job is one command:
bash
wp plugin auto-updates disable --all
How to Disable Automatic Updates in wp-config.php
Constants are the right tool for core updates, because there is no dashboard toggle for the minor release channel. Add these above the line that reads /* That's all, stop editing! */, and back the file up first.
To disable all core automatic updates, major and minor:
php
define( 'WP_AUTO_UPDATE_CORE', false );
To keep security patches but stop major version jumps:
php
define( 'WP_AUTO_UPDATE_CORE', 'minor' );
That second one is the setting most sites want. It is also the pre-5.6 default, so on an older installation it changes nothing and simply documents the intent, which matters when someone else inherits the site.
To disable every category at once, core, plugins, themes and translations:
php
define( 'AUTOMATIC_UPDATER_DISABLED', true );
WordPress core’s own documentation on configuring automatic background updates discourages that last one, and the reasoning is the security patch problem described above rather than tidiness. Use it on a site you actively maintain, not on one you are about to walk away from.
Note that WP_AUTO_UPDATE_CORE overrides the toggle on the Updates screen. Once the constant is defined, the dashboard link stops working, which is confusing if you forgot it was there. That is also the answer when a client reports that the setting will not save.
The Constant That Does More Than You Expect
You will find DISALLOW_FILE_MODS recommended in older threads:
php
define( 'DISALLOW_FILE_MODS', true );
It does stop automatic updates. It also blocks manual updates, plugin and theme installation, deletion, and the file editor, and it removes those screens from the admin entirely. On a properly locked down production site deployed from version control, that is exactly the point. On an ordinary site it produces a WordPress install where nobody can install anything, and the cause is not obvious to whoever inherits it.
If you only want the file editor gone, DISALLOW_FILE_EDIT does that alone and leaves updates working.
How Do You Disable Auto-Updates for One Plugin Only?
The dashboard handles the common version of this. For programmatic control, the auto_update_plugin filter receives the update object and returns true or false, so you can decide per plugin:
php
add_filter( 'auto_update_plugin', function ( $update, $item ) {
$never_auto_update = array(
'woocommerce/woocommerce.php',
'some-fragile-plugin/plugin.php',
);
if ( in_array( $item->plugin, $never_auto_update, true ) ) {
return false;
}
return $update;
}, 10, 2 );
auto_update_theme works the same way. To turn off a whole category rather than individual items, add_filter( 'auto_update_plugin', '__return_false' ); and add_filter( 'auto_update_core', '__return_false' ); do the job in one line each.
Where this code goes matters. It is the most common mistake in this whole topic. Put filters in a must-use plugin at wp-content/mu-plugins/, not in wp-config.php. The WordPress documentation is explicit about it: wp-config.php runs before WordPress is fully loaded, so add_filter() calls placed there can conflict with WP-CLI and other tools. Constants belong in wp-config.php, filters belong in a plugin. A file such as mu-plugins/update-control.php with a plugin header and the code above loads automatically and cannot be deactivated by accident.
Turning Off the Update Notification Emails
Disabling the updates does not disable every message about them. If you want the core update emails to stop as well:
php
add_filter( 'auto_core_update_send_email', '__return_false' );
Filter the same way and you can keep failure notices while dropping success notices, which is usually the more sensible setting. Silence on success, a message when something breaks.
When the Setting Seems to Be Ignored
Three causes account for nearly all of these.
Your host overrides it. Managed WordPress hosts frequently apply core security releases regardless of your constants, and some enforce it through their own must-use plugin. Look in wp-content/mu-plugins/ for something you did not put there. This is contractual on many plans rather than a bug, and disabling it is often a support ticket rather than a code change.
A security or management plugin owns the setting. Update managers, backup suites, and maintenance dashboards all set these filters, and the last filter to run wins. Search your active plugins for auto_update before assuming your own code failed.
The change did not take effect yet. Auto-updates run on a scheduled cron event, not on page load, so a site that already had an update queued may still apply it once after your change.
What to Do Instead of Leaving Updates Off Forever
Turning updates off transfers the work to you rather than removing it. A site left on WordPress 6.2 with thirty stale plugins is a worse outcome than the occasional broken layout, and the gap gets harder to close every month it grows.
The pattern that works:
- Keep minor core auto-updates on. Security patches apply themselves, which is what that channel exists for.
- Book a monthly update window. Same day each month, updates applied on staging first, site checked, then pushed to production.
- Take a backup immediately before, every time. A restore point from six hours ago is worth more than any amount of caution.
- Watch the changelogs of the two or three plugins that touch your checkout or your payments. Those are the ones where a bad release costs real money, and they usually warn about breaking changes in advance.
One more thing worth knowing before you decide. Since WordPress 6.6, a plugin auto-update that triggers a PHP fatal error is rolled back automatically, with the previous version restored and an email sent to the administrator. The white screen scenario that made most people disable plugin auto-updates in the first place is meaningfully less likely than it was, which is a reason to revisit the decision on low risk plugins rather than to set it once and forget it.
The Short Version
Plugins and themes, use the dashboard toggles or the bulk action. Core, use define( 'WP_AUTO_UPDATE_CORE', 'minor' ); to stop major version jumps while keeping security patches. Individual plugins, use the auto_update_plugin filter in a must-use plugin, never in wp-config.php. Reach for AUTOMATIC_UPDATER_DISABLED only when you have a maintenance process ready to take over the work it stops.
Used in this session
Web search3 searches