Skip to content

Instantly share code, notes, and snippets.

@johnbillion
Last active July 7, 2025 13:21
Show Gist options
  • Select an option

  • Save johnbillion/0a48021de5510c41d517 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

Thanks a ton for this.

@ashish200025
Copy link
Copy Markdown

Thank you very much.

@mikelittle
Copy link
Copy Markdown

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
Copy Markdown

@arshidkv12
Copy link
Copy Markdown

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