How to Disable Automatic Update Email Notification in WordPress275

How to Disable Automatic Update Email Notification in WordPressHow to Disable Automatic Update Email Notification in WordPress
Author: InfoBeep - September 11, 2017 | subject to copyright

About automatic updates in WordPress

It is recommended to regularly update WordPress as WordPress developers regularly fix security issues, bugs and add new features.

WordPress automatically install minor updates and sends a notification to the WordPress admin email address about it.

In this article, we will guide you how can you turn off automatic update email notification in WordPress in 2 different methods:

Method 1: Disable automatic update email notification using plugin

You can just Install and activate ‘Disable WordPress Core Update Email’

(note: this plugin left no setting for you to configure, it simply disables email notification sent after automatic updates)

Method 2: Disable automatic update email notification using code

In this method, you need to add the code below in your theme’s functions.php file or site-specific plugin.

add_filter( 'auto_core_update_send_email', 'ib_stop_auto_update_emails', 10, 4 );
function ib_stop_update_emails( $send, $type, $core_update, $result ) {
if ( ! empty( $type ) && $type == 'success' ) {
return false;
}
return true;
}

(note: this code adds filter to disable email notification after automatic update)