Skip to content

Instantly share code, notes, and snippets.

@johnbillion
Last active May 12, 2024 14:19
Show Gist options
  • Save johnbillion/0a48021de5510c41d517 to your computer and use it in GitHub Desktop.
Save johnbillion/0a48021de5510c41d517 to your computer and use it in GitHub Desktop.
WordPress Emails

WordPress Emails

This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.

This documentation has moved here: https://github.com/johnbillion/wp_mail

@taodailOryx
Copy link

Thanks a ton for this.

@ashish200025
Copy link

Thank you very much.

@mikelittle
Copy link

For the section User requests a password reset via "Lost your password?" You can disable it by hooking the filter retrieve_password_message and returning an empty or null message.

@mikelittle
Copy link

@johnbillion I have updated one of the entries on my fork of your gist here: https://gist.github.com/mikelittle/3fb023aeafb75e9a4cac181b4766f34e/revisions#diff-9fe3f8accff188124636d7848a017a68
Consider it a PR.

@arshidkv12
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment