user_erasure_complete_email_headers
user_erasure_complete_email_headers
Appears in: wordpress-5.4, wordpress-5.4.1, wordpress-5.4.2, wordpress-5.5, wordpress-5.5.1, wordpress-5.5.2, wordpress-5.5.3, wordpress-5.6, wordpress-5.6.1, wordpress-5.6.2, wordpress-5.7, wordpress-5.7.1, wordpress-5.7.2
Hook Type: filter
Displaying hooks found in version: wordpress-5.7.2apply_filters('user_erasure_complete_email_headers') is found 1 times:
- /wp-includes/user.php line 389238883889389038913892389338943895389638973898
* @type string
$sitename
The site name sending the mail.
* @type string
$siteurl
The site URL sending the mail.
* }
*/
$headers
= apply_filters(
'user_erasure_complete_email_headers'
,
$headers
,
$subject
,
$content
,
$request_id
,
$email_data
);
$email_sent
= wp_mail(
$user_email
,
$subject
,
$content
,
$headers
);
if
(
$switched_locale
) {
restore_previous_locale();
}