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: <ul> <li>###SITENAME### The name of the site.</li> <li>###PRIVACY_POLICY_URL### Privacy policy page URL.</li> <li>###SITEURL### The URL to the site.</li> </ul>
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.
4672* by the `user_erasure_fulfillment_email_to` filter.4673* @type string$privacy_policy_url Privacy policy URL.4674* @type string$sitename The site name sending the mail.4675* @type string$siteurl The site URL sending the mail.4676*}4677*/4678$content=apply_filters('user_erasure_fulfillment_email_content',$content,$email_data);46794680$content=str_replace('###SITENAME###',$email_data['sitename'],$content);4681$content=str_replace('###PRIVACY_POLICY_URL###',$email_data['privacy_policy_url'],$content);4682$content=str_replace('###SITEURL###',sanitize_url($email_data['siteurl']),$content);46834684$headers='';
History
Introduced in 5.8.0. Unchanged from 6.7.7 through 7.1.0.