Argh! So many admin emails!

The new WP feature to more easily auto-update themes and plugins is working fine for me. But … WP sends me an email every time any of my sites auto-updates anything. I have around a dozen sites, each with a bunch of plugins that get updated frequently, so I’ve been getting *lots* of admin emails. WP core doesn’t provide a way to turn off these emails. Fortunately there are a couple of ways to do this.

WPBeginner has provided me with great tips numerous times, so I first tried a code snippet from the article How to Disable Automatic Update Email Notification in WordPress. And … it didn’t work. I’m guessing it worked when the article was published in 2016, but not now, at least not for me.

There is a plugin that will do the job, Disable auto-update Email Notifications by Email Marketing WP. The plugin is well-reviewed and becoming popular. But I’d rather not add to my already long list of plugins if I can avoid it.

I downloaded the plugin and took a look at the code – very elegant – just a couple of well-documented lines:

// Disable plugins auto-update email notifications
add_filter( 'auto_plugin_update_send_email', '__return_false' );

// Disable themes auto-update email notifications.
add_filter( 'auto_theme_update_send_email', '__return_false' );

So, I pasted the code into my existing site-specific plugin. So far, it seems to be working great. Other Admin notifications remain On. The code only stops plugin and theme auto-update notifications.

WPPOV supports freedom from Net Neutrality and the GDPR. The Internet of the people, by the people, for the people, shall not perish from the Earth.