A WordPress-centric search engine for devs and theme authors

user_erasure_fulfillment_email_content › WordPress Filter Hooks

apply_filters( 'user_erasure_fulfillment_email_content', $content, $email_data )
Parameters: (2)
  • (string) $content The email content.
    Required: Yes
  • (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. }
    Required: Yes
Defined at:

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.


$content = apply_filters( 'user_erasure_fulfillment_email_content', $content, $email_data );