Filters the subject of the email sent when an erasure request is completed.
Parameters
$subjectstring
The email subject.
$sitenamestring
The name of the site.
$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.
4413<?php4414 * by the `user_erasure_fulfillment_email_to` filter.4415 * @type string $privacy_policy_url Privacy policy URL.4416 * @type string $sitename The site name sending the mail.4417 * @type string $siteurl The site URL sending the mail.4418 * }4419 */4420 $subject = apply_filters( 'user_erasure_fulfillment_email_subject', $subject, $email_data['sitename'], $email_data );44214422 /* translators: Do not translate SITENAME, SITEURL; those are placeholders. */4423 $content = __(4424 'Howdy,44254426Your request to erase your personal data on ###SITENAME### has been completed.
History
Introduced in 5.8.0. Unchanged from 6.7.7 through 7.1.0.