Filters the body of the data erasure fulfillment notification.
Description
The email is sent to a user when their data erasure request is fulfilled by an administrator. The following strings have a special meaning and will get replaced dynamically: <h3>SITENAME### The name of the site.</h3> <h3>PRIVACY_POLICY_URL### Privacy policy page URL.</h3> <h3>SITEURL### The URL to the site.</h3>
Parameters
$contentstring
The email content.
$email_dataarray
{ Data relating to the account action email. @type WP_User_Request $request User request object. @type string $message_recipient The address that the email will be sent to. Defaults to the value of $request->email, but can be changed by the user_erasure_fulfillment_email_to filter. @type string $privacy_policy_url Privacy policy URL. @type string $sitename The site name sending the mail. @type string $siteurl The site URL sending the mail.}
$requestWP_User_Request
User request object.
$message_recipientstring
The address that the email will be sent to. Defaults to the value of $request->email, but can be changed by the user_erasure_fulfillment_email_to filter.
4579* by the `user_erasure_fulfillment_email_to` filter.4580* @type string$privacy_policy_url Privacy policy URL.4581* @type string$sitename The site name sending the mail.4582* @type string$siteurl The site URL sending the mail.4583*}4584*/4585$content=apply_filters('user_erasure_fulfillment_email_content',$content,$email_data);45864587$content=str_replace('###SITENAME###',$email_data['sitename'],$content);4588$content=str_replace('###PRIVACY_POLICY_URL###',$email_data['privacy_policy_url'],$content);4589$content=str_replace('###SITEURL###',sanitize_url($email_data['siteurl']),$content);45904591$headers='';
History
Introduced in 5.8.0. Unchanged from 6.7.7 through 7.1.0.