Created
August 18, 2020 13:39
-
-
Save someguy9/67c69a24bbdcb2edaec8110a013bc862 to your computer and use it in GitHub Desktop.
Disable the auto-update emails WordPress sends for plugins/themes (introduced in WP 5.5)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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