Skip to content

Instantly share code, notes, and snippets.

@someguy9
Created August 18, 2020 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save someguy9/67c69a24bbdcb2edaec8110a013bc862 to your computer and use it in GitHub Desktop.
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)
<?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