{"repo":"johnbillion/wp_mail","free":true,"listed":false,"github":"https://github.com/johnbillion/wp_mail","clone":"git clone https://github.com/johnbillion/wp_mail.git","description":"Documentation for all the situations where WordPress core sends an email, how and when they happen, and how to filter or disable each one.","language":null,"stars":373,"topics":["wordpress","email","documentation"],"license":"GPL-2.0","category":"docs-static-sites","readme_excerpt":"WordPress Email Documentation This document lists all the situations where WordPress core sends an email, how and when they happen, and how to filter or disable each one. This list was last updated for WordPress 7.0. Table of Contents - Information Applicable to All Emails - Comments - Change of Admin Email - Change of User Email or Password - Personal Data Requests - Automatic Updates - New User - New Site - Other Information Applicable to All Emails All emails sent by WordPress go through the pluggable wp mail() function. The following general-purpose filters and actions are used in this function: Filters wp mail pre wp mail wp mail from wp mail from name wp mail content type wp mail charset wp mail embed args Actions phpmailer init wp mail succeeded wp mail failed Comments Comment is awaiting moderation Sent when a user or visitor submits a comment that gets held for moderation. To - Site Admin - Post author, if they have the ability to edit the comment From WordPress &lt;wordpress@host&gt; Subject [%1$s] Please moderate: \"%2$s\" Function wp notify moderator() Pluggable Yes Filters comment moderation recipients comment moderation subject comment moderation text comment moderation headers Disable - Return false from notify moderator filter - Remove wp new comment notify moderator action from comment post hook - \"Email me whenever\" settings on Settings → Discussion screen - Overwrite the pluggable wp notify moderator() function Comment is published Sent when: A user or visito","default_branch":null,"files":null,"tree":[],"storefront":"/r/johnbillion","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/johnbillion/wp_mail/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}