As of WordPress 5.5, email notifications will be sent after each attempt to auto-update a plugin or theme regardless of outcome (success or failure).
If you are managing many sites, these plugin and theme auto-updates email notifications might be more annoying to you than useful.
The following snippet can be used to disable email notifications for themes and/or plugins auto-update:
add_filter( 'auto_plugin_update_send_email', '__return_false' ); add_filter( 'auto_theme_update_send_email', '__return_false' );
In case it helps, here’s how to add custom codes to your site.
The Easy Way
If you do not want to use code snippet, you can use Disable Emails Conditionally plugin. Just install and activate the plugin. Go to Settings > Do Not Send Emails If and configure the condition.
- Do not send emails if Email Subject contains Some plugins were automatically updated
- Do not send emails if Email Subject contains Some plugins and themes have automatically updated
- Do not send emails if Email Subject contains Your site has updated to
The plugins allow you to disable any emails you’d not like to get sent from your WordPress site. You can find more on the documentation about the plugin.
That’s it. Thank you!