|

How to Disable Automatic Update Email Notification in WordPress

In this tutorial, i will show you how to easily disable automatic update email notifications in WordPress.

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!

Get Plugin: Manage Notification E-mails

Method 2: Disable Automatic Update Email Notification Using Code

  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.

Well, I hope this article must have helped you. If you have any problem regarding this post, just drop your comment here or you can also say “Thanks” simply.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *