Stop Auto-Update Success Emails
Silences the emails sent after successful automatic updates of WordPress, plugins and themes. Emails about failed core updates are kept.
Opens WPIDE on
Code
add_filter( 'auto_core_update_send_email', function ( $send, $type ) {
return 'success' === $type ? false : $send;
}, 10, 2 );
add_filter( 'auto_plugin_update_send_email', '__return_false' );
add_filter( 'auto_theme_update_send_email', '__return_false' );
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.