Site logo

Archived topic

[How to] Disable auto-update email notifications for plugins

5 replies · Started by Lorand on August 14, 2020

Viewing posts 1–6 of 6

Hello,

As of WordPress 5.5, email notifications will be sent after each attempt to auto-update a plugin or theme regardless of outcome (success or failure). If you want to disable email notifications for plugins auto-updates :

Open the functions.php in your child-theme and add :


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

Reference to : https://make.wordpress.org/core/2020/07/30/controlling-plugin-and-theme-auto-update-email-notifications-and-site-health-infos-in-wp-5-5/

;)

Awesome.

Thanks for sharing!

I have put the code into my php functions file, without using a child theme (that is too technical for me). Will the code erase itself when the generate press theme is updated?

ok thanks, I will delete it.

No problem :)

This archived topic is closed to new replies.