How to Disable Email Notifications for WordPress Automatic Updates

Email notifications about WordPress core, plugin, and theme updates are essential but can quickly become overwhelming. While it’s crucial to stay updated for security and performance reasons, the constant influx of notifications can clutter your inbox, disrupt your workflow, and cause unnecessary stress. Managing multiple WordPress sites or running a business website can compound this challenge, making it difficult to focus on essential tasks like content creation and user engagement.

In this guide, we will unveil the solution to this common predicament. By disabling these notifications, you regain control over your email inbox and can concentrate on what truly matters โ€“ your website’s growth, content creation, and user interaction. Whether you manage multiple WordPress sites or run a business website, this guide equips you with the knowledge to manage your online presence efficiently.

Before proceeding with any customizations in WordPress, it’s essential to set up a child theme. A child theme acts as a safe and efficient way to make modifications without affecting the parent theme. If you haven’t set up a child theme yet, follow this tutorial on How to Create a Child Theme for Customization. It will guide you through the process and ensure that your customizations remain intact even after theme updates.

Edit functions.php File

Navigate to your child-theme’s directory. Within it, you’ll find a file named functions.php. This file contains essential functions for your theme. If you’re unsure how to locate it, access your site via FTP and find it within the wp-content/themes/your-child-theme-name/ directory. Open the functions.php file in a text editor of your choice.

Add the following code at the end of the file:

// Disable email notification for automatic WordPress core updates
add_filter( 'auto_core_update_send_email', '__return_false' );

// Disable email notification for automatic plugin updates
add_filter( 'auto_plugin_update_send_email', '__return_false' );

// Disable email notification for automatic theme updates
add_filter( 'auto_theme_update_send_email', '__return_false' );
Code language: PHP (php)

Explanation:
The provided code snippet adds filters to disable email notifications for automatic updates in WordPress. The add_filter function hooks into specific filters (auto_core_update_send_email, auto_plugin_update_send_email, and auto_theme_update_send_email) and sets them to return false, preventing the sending of email notifications.

Save, Upload, and Verify

After adding the code snippet to the functions.php file, save your changes in the text editor. Next, upload the modified functions.php file back to your server, replacing the existing file.

To confirm that the email notifications are disabled, allow WordPress to update itself, a plugin, or a theme automatically. After the update, check your email inbox to ensure no notifications are sent.

That’s it! By following these steps, you’ve successfully managed your WordPress notifications, ensuring a streamlined workflow and a focused work environment. Now, you can concentrate on your website’s growth, engage with your audience, and handle your online presence without interruptions.

Leave your feedback and help us improve ๐Ÿถ

We hope you found this article helpful! If you have any questions, feedback, or spot any errors, please let us know in the comments. Your input is valuable and helps us improve. If you liked this article, please consider sharing it with others. And if you really enjoyed it, you can show your support by buying us a cup of coffee โ˜•๏ธ or donating via PayPal ๐Ÿ’ฐ.

More free knowledge, because why not?

Your thoughts matter, leave a reply ๐Ÿ’ฌ

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