Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Disable the auto-update emails WordPress sends for plugins/themes (introduced in WP 5.5)
<?php
//Disable plugin auto-update email notification
add_filter('auto_plugin_update_send_email', '__return_false');
//Disable theme auto-update email notification
add_filter('auto_theme_update_send_email', '__return_false');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.