Thursday 27 October 2016

How to Disable Automatic Update Email Notification in WordPress

Do you want to disable automatic update email notification in WordPress? By default, WordPress sends an email notification to inform you that your WordPress site is updated after security updates. Recently one of our readers asked if there is an easy way to disable that. In this article, we will show you how to easily disable automatic update email notification in WordPress.

How to Disable Automatic Update Email Notification in WordPress

About Automatic Updates in WordPress

WordPress is an open source software which is maintained by a community of developers. It is regularly updated to fix security issues, bugs, and to add new features.

WordPress updates

This is why you should always use the latest version of WordPress to make sure that your website is safe and up to date.

WordPress automatically installs minor updates as soon as they are available. After the update, your WordPress site sends a notification to the WordPress admin email address.

The purpose of this email notification is just to inform you that your WordPress site is updated.

If you maintain multiple WordPress sites, then you will get an email from each website. This can be a bit annoying.

Let’s see how to easily turn off the automatic update email notification in WordPress.

Method 1: Disable Automatic Update Email Notification Using Plugin

This method is simpler and does not require you to add any code to your WordPress site.

First thing you need to do is install and activate the Disable WordPress Core Update Email. For more details, see our step by step guide on how to install a WordPress plugin.

The plugin works out of the box, and there are no settings for you to configure.

Upon activation, it simply disables email notification sent after WordPress automatic update.

Method 2: Disable Automatic Update Email Notification Using Code

This method requires you to add code to your WordPress files. If you haven’t done this before, then take a look at our beginner’s guide on pasting snippets from web into WordPress.

You will need to add this code to your theme’s functions.php file or a site-specific plugin.

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 simply adds a filter to disable email notification after automatic core update.

Managing Notifications and Updates in WordPress

By default, WordPress does not allow you to automatically install updates. Many site owners find it a bit annoying to update themes and plugins, especially if they maintain multiple WordPress sites.

Managing WordPress updates

Luckily, there are plugins that allow you to more efficiently manage WordPress updates. For detailed instructions see our guide on how to better manage automatic WordPress updates.

Similarly, WordPress by default has no unified interface to manage notification emails. It may not even send email notifications and you wouldn’t notice it.

There are plugins that allow you to manage and control emails sent by WordPress. You can even customize default WordPress emails. For detailed instructions take a look at our guide on how to add better custom notifications in WordPress.

That’s all, we hope this article helped you learn how to disable automatic update email notification in WordPress. You may also want to see our guide on 24 must have WordPress plugins for business websites.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Disable Automatic Update Email Notification in WordPress appeared first on WPBeginner.



source http://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-update-email-notification-in-wordpress/

No comments:

Post a Comment