Filter hook 'user_erasure_fulfillment_email_content'

in WP Core File wp-includes/user.php at line 4490

Description

Filters the body of the data erasure fulfillment notification. 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: ###SITENAME### The name of the site. ###PRIVACY_POLICY_URL### Privacy policy page URL. ###SITEURL### The URL to the site. to the value of `$request->email`, but can be changed by the `user_erasure_fulfillment_email_to` filter. }

Occurrences

Filename Line Number
wp-includes/user.php 4490

Parameters

Type Name Description
string $content The email content.
array $email_data { Data relating to the account action email.

PHP Doc

/**
	 * Filters the body of the data erasure fulfillment notification.
	 *
	 * 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:
	 *
	 * ###SITENAME###           The name of the site.
	 * ###PRIVACY_POLICY_URL### Privacy policy page URL.
	 * ###SITEURL###            The URL to the site.
	 *
	 * @since 5.8.0
	 *
	 * @param string $content The email content.
	 * @param array  $email_data {
	 *     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.
	 * }
	 */