Ever since WordPress 5.5 you can now have your plugins and themes auto-update. This is a great feature to keep your site up to date and working properly. Especially if you have many sites you manage this is a welcomed feature. While this is a great feature if you manage a lot of sites the emails WordPress sends confirming automatic updates can become quite a lot.
Today I’ll show you how to disable the plugin/theme auto-update emails notifications using a plugin or PHP code snippet.
First I’ll show you how to do this using a WordPress plugin.
Disable WordPress Auto-Update Emails with Plugin
If you aren’t familiar with adding code to your site the plugin “Disable auto-update Email Notifications” is the easiest way to disable these emails.
This plugin simply disabled the WordPress 5.5 auto-update email notifications when active.
Code Snippet to Disable Auto-Update Emails in WordPress
This code snippet can be used in your theme’s function.php file or added to your site using a plugin like code snippets.
<?php | |
//Disable plugin auto-update email notification | |
add_filter('auto_plugin_update_send_email', '__return_false'); | |
//Disable theme auto-update email notification | |
add_filter('auto_theme_update_send_email', '__return_false'); |
6 Responses
Hey,
Should the snippet only run in administration area? Only on site front-end? Or should it run everywhere?
Thanks
I think you want to do ‘run everywhere’
Hi Andy
How would you apply this on a WP Network?
Thanks
Hey Arie, you should be able to use the code snippet to make a plugin and Network Activate it. Or use the plugin in the article and network activate it as well.
OK cool. Thanks!
Thanks for the simple instructions. I already had hundreds of wordpress alerts in Gmail in a few weeks, I had to look for a solution to limit it 🙂