Do you want to disable automatic update email notifications in WordPress?
By default, WordPress sends email notifications for automatic updates of WordPress plugins, themes, and the core itself.
In this article, we will show you how to easily disable automatic update email notifications in WordPress.
About Automatic Update Notifications in WordPress
WordPress is an open-source content management platform that is regularly maintained and updated.
Some of these updates are automatically installed, and you will receive an email notification that your site has been updated.
Similarly, WordPress also allows you to enable automatic updates for WordPress plugins and themes too. This means you spend less time updating plugins and more time growing your business.
You can enable automatic updates for plugins that you trust by visiting the Plugins » All Plugins page.
Simply click on the ‘Enable auto-updates’ link next to the plugin that you want to update itself.
For WordPress themes, you can visit the Appearance » Themes page and click on a theme.
This will bring up a theme information popup where you can click on ‘Enable auto-updates’ for that theme.
WordPress will send you an email notification when any of your plugins, theme, or WordPress core is updated.
This can get annoying, particularly for users who manage multiple WordPress websites. Wouldn’t it be nice if you could control and turn off these email notifications?
Let’s take a look at how to easily disable automatic update email notifications in WordPress.
- Method 1. Disable Automatic Update Email Notification Using Code (Recommended)
- Method 2. Disable Automatic Update Email Notification Using Plugin
Method 1. Disable Automatic Update Email Notification Using Code (Recommended)
This method requires you to add code to your WordPress files. If you haven’t done this before, then take a look at our beginner’s guide on pasting snippets from the web into WordPress.
You can manually add the code below to your theme’s functions.php file. But this can be tricky since any mistake can bring down your whole website. Plus, if you update your theme, then any custom code snippets will be erased.
We’ll show you a better approach below, which is using a code snippets plugin to add custom code in WordPress.
1. Disable Auto Update Notification Emails for Core Updates
Simply add the following code to disable notification emails for automatic updates of the WordPress core.
add_filter( 'auto_core_update_send_email', 'wpb_stop_auto_update_emails', 10, 4 );
function wpb_stop_update_emails( $send, $type, $core_update, $result ) {
if ( ! empty( $type ) && $type == 'success' ) {
return false;
}
return true;
}
This code adds a filter to disable email notifications after automatic core updates.
2. Disable Auto Update Notification Emails for Plugins
Add the following code to disable notification emails for automatic updates of WordPress plugins.
add_filter( 'auto_plugin_update_send_email', '__return_false' );
This filter simply disables email notifications for plugin auto-updates.
3. Disable Auto Update Notification Emails for Themes
Add the following code to disable notification emails for automatic updates of WordPress themes.
add_filter( 'auto_theme_update_send_email', '__return_false' );
This filter simply disables email notifications for theme auto-updates.
The easiest and safest way to add this code in WordPress is by using the WPCode plugin.
WPCode lets you easily add custom code snippets in WordPress without having to edit your theme’s functions.php file.
Plus, it has a full code library inside the plugin that includes ready-to-use, verified code snippets for popular feature requests like disabling automatic update emails, removing the WordPress version number, disabling comments, and more.
First, you need to install and activate the free WPCode plugin. For step-by-step instructions, see our tutorial on how to install a WordPress plugin.
Once the plugin is activated, go to Code Snippets » Library from your WordPress admin dashboard.
Then, search for the ‘Disable Automatic Updates Emails’ snippet and click on the ‘Use snippet’ button.
WPCode will then automatically add the code and set the proper insertion method.
The snippet has three filters, one for each type of auto-update email: WordPress core, WordPress plugins, and WordPress themes.
If you don’t want to use a particular filter, simply add a //
at the beginning of the filter line.
For example, if you still want to get auto-update emails for WordPress plugins, adding a //
to the plugin filter will stop it from executing.
After that, all you have to do is toggle the switch from ‘Inactive’ to ‘Active.’
Then, click the ‘Update’ button.
Now you will no longer get automatic update emails from WordPress.
Method 2: Disable Automatic Update Email Notification Using Plugin
Next, we’ll show you how to disable automatic update email notifications using two different email plugins.
1. Manage Notifications Emails
The first thing you need to do is install and activate the Manage Notification E-mails plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.
Upon activation, you need to visit the Settings » Notification e-mails page. This is where the plugin allows you to manage all WordPress notification emails, including auto-update notifications.
Simply scroll down to the auto-update options and uncheck the box next to the notifications you want to disable.
Don’t forget to click on the ‘Save Changes’ button to store your settings.
2. WP Mail SMTP
Another plugin you can use to disable automatic update email notifications is the WP Mail SMTP. It’s the best SMTP service for WordPress and ensures your email are delivered to your inbox.
WP Mail SMTP lets you easily manage the emails sent by WordPress through its Email Controls. However, you’ll need the WP Mail SMTP Pro license to unlock the Email Controls option.
Next, you’ll need to install and activate WP Mail SMTP Pro on your website. You can check out our guide on how to install a WordPress plugin for more details.
Once the plugin is active, navigate to WP Mail SMTP » Settings from your WordPress admin panel and click the ‘Email Controls’ tab.
After that, scroll down to the ‘Automatic Updates’ section and disable email notifications for plugins, themes, WP core status, and full log.
When you’re done, don’t forget to click the ‘Save Settings’ button.
That’s all, you have successfully disabled WordPress auto-update email notifications for your website.
Rolling Back WordPress Updates if Something Goes Wrong
Because WordPress plugins run on various independent WordPress hosting and server configurations, sometimes a plugin update may result in breaking a feature on your website or making it inaccessible.
This is easy to troubleshoot and fix. First, you need to figure out which plugin has caused the issue by deactivating all WordPress plugins and reactivating them one by one.
Once you have isolated the plugin causing the issue, you can use the WP Rollback plugin. It allows you to switch to the previous version of a WordPress plugin or theme.
For details, see our guide on how to roll back WordPress plugins and themes with step-by-step instructions.
Improving WordPress Email Deliverability
Even if you disable WordPress auto-update emails, there are other WordPress notification emails that you may not want to miss.
For instance, if you run a WooCommerce store, then you would want to receive notifications when a new order is placed.
Similarly, if you sell an online course or run a membership website, then you may want to receive email alerts when new users sign up.
You would also want to make sure that emails sent to users are delivered. Like forgot password emails, payment receipt emails, or order confirmation notifications.
To send emails, WordPress uses the PHP mail function. This function is easily misused by spammers, and your emails may end up in spam.
To make sure all your important WordPress notification emails reach the user’s inbox, you need to use a proper SMTP service to send emails.
This is where the WP Mail SMTP plugin comes in. It allows you to use an SMTP service to send all your WordPress notification emails.
You can use it with a paid SMTP service provider as well as a free SMTP service like Gmail combined with the free version of the WP Mail SMTP plugin.
For more details, see our guide on How to set up WP Mail SMTP on your WordPress site.
That’s all. We hope this article helped you learn how to disable automatic update email notifications in WordPress. You may also want to see our guide on the must-have WordPress plugins for business websites and our comparison of the best email marketing services to grow your sales.
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.
Juls says
Hello,
Just wondering, if the plugin gets deleted after I add this code, will this added code also get deleted? Or will the code remain and continue blocking the notification emails even after the plugin is deleted?
WPBeginner Support says
If you use the plugin to add the code when you remove the plugin the code will also be removed.
Admin
Myles says
Hey there,
Just wondered if you’ve come across this before? I don’t have the option to enable auto-updates for plugins or themes. The option isn’t there. Any idea why?
Big fans of the content guys – keep it up!
Myles
WPBeginner Support says
The most common reason your plugins would not have the auto-update option would be if you have a setting in your wp-config file already or if your hosting provider overrides the ability to auto-update on your site.
Admin
Katharina says
Guys, I just wanted to tell you that I love your site! You provide AMAZING content and I have probably read 50+ articles of you already, you are my number 1 bookmark at the moment.
I am building my first blog and I had no idea what to do, but you enable me every day to feel like a software developer haha! Your tutorials are for dummys and therefore suuper easy to follow. I love that you always add screenshots for each step too.
You make me and the community feel like we can do this and that is the biggest compliment that you can probably get – enabling tons of people everyday to feel better about themselves and setting up their dreams in wordpress!
I know it’s random to place this comment under this article, but that’s the last I just followed. Would love to rate you guys if that’s possible and helps somewhere!
Lots of thumbs up!!
Katharina
WPBeginner Support says
Glad to hear out content is helpful!
Admin
Stefan Cherrug says
There is no “Notification e-mails” option under Settings! How to turn off these notifications I get from WP?
WPBeginner Support says
If you do not see that area in your settings, we would recommend ensuring the plugin is installed and activated on your site.
Admin
Tom F. Melcher says
Are the defaults in the Manage Notification E-mails plugin the same as the defaults in WordPress? For example, I don’t want to activate it just to remove plug-in update email notifications, and then start receiving a bunch of other email notifications for users and admins.
WPBeginner Support says
The plugin would not add new emails by default to your site but it would give the option to add emails if you wanted.
Admin
Victor says
Thanks! But the question is: How can this not be a simple checkbox in the standard WordPress settings? Users should not have to install extra plugins or mess with PHP code.
WPBeginner Support says
We’re not in charge of what is or is not added to WordPress itself. You can go to the Get Involved section on WordPress.org for speaking regarding what you feel should or should not be added to WordPress
Admin
eliezer ciriaco says
is it possible to change the email messages that you will receive when the update is done. if yes, do you have any reference for it? THank you
Himanshu Grewal says
How can i use Genesis Child Theme?????
alex james says
Its genuine dude!