In this tutorial, i will show you how to easily disable automatic update email notifications in WordPress.
Video tutorial
Method 1: Disable Automatic Update Email Notification Using Plugin
With this plugin you can switch the different WordPress notification e-mails on and off, like options as the new user and password change notifications send by WordPress to the administrator and user. Works perfectly in combination with a lot of other plugins!
Plugin: Manage Notification E-mails
Method 2: Disable Automatic Update Email Notification Using Code
1. Disable Auto Update Notification Emails for Core Updates.
First of all, you need to activate the plugin called “Code Snippets”.
Then go to the snippets page on the dashboard and click on “add new”. Enter the title you want to call.
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.
Thank you for reading! I hope this article was helpful. If you have any questions or suggestions, feel free to share them in the comments.
