Home / Most Popular / Disable Automatic Updates Emails
Duplicate Snippet

Embed Snippet on Your Site

Disable Automatic Updates Emails

Stop getting emails about automatic updates on your WordPress site.

13k
Code Preview
php
<?php
// Disable auto-update emails.
add_filter( 'auto_core_update_send_email', '__return_false' );
// Disable auto-update emails for plugins.
add_filter( 'auto_plugin_update_send_email', '__return_false' );
// Disable auto-update emails for themes.
add_filter( 'auto_theme_update_send_email', '__return_false' );

Comments

Add a Comment

  1. This snippet isn’t working. I am still recevigin wordpress + plugin auto update emails on multiple websites, even though I have this snippet active.

    1. Hey Roman,

      That’s weird, the snippet should definitely work and we just checked the code in core again to make sure nothing changed – two things may be happening here: either another plugin is overriding these filters by using a later hook or the emails you are receiving are different from the ones filtered here.

      Feel free to reach out using our contact form at https://wpcode.com/contact and we can look further into this together.