3172 | | $content = apply_filters( 'user_confirmed_action_email_content', $email_text, $email_data ); |
| 3175 | $content = apply_filters_deprecated( 'user_confirmed_action_email_content', array( $email_text, $email_data ), '4.9.7', 'user_erasure_fulfillment_email_content' ); |
| 3176 | |
| 3177 | /** |
| 3178 | * Filters the body of the data erasure fulfillment notification. |
| 3179 | * |
| 3180 | * The email is sent to a user when a their data erasure request is fulfilled |
| 3181 | * by an administrator. |
| 3182 | * |
| 3183 | * The following strings have a special meaning and will get replaced dynamically: |
| 3184 | * |
| 3185 | * ###SITENAME### The name of the site. |
| 3186 | * ###PRIVACY_POLICY_URL### Privacy policy page URL. |
| 3187 | * ###SITEURL### The URL to the site. |
| 3188 | * |
| 3189 | * @since 4.9.7 |
| 3190 | * |
| 3191 | * @param string $email_text Text in the email. |
| 3192 | * @param array $email_data { |
| 3193 | * Data relating to the account action email. |
| 3194 | * |
| 3195 | * @type WP_User_Request $request User request object. |
| 3196 | * @type string $message_recipient The address that the email will be sent to. Defaults |
| 3197 | * to the value of `$request->email`, but can be changed |
| 3198 | * by the `user_erasure_fulfillment_email_to` filter. |
| 3199 | * @type string $privacy_policy_url Privacy policy URL. |
| 3200 | * @type string $sitename The site name sending the mail. |
| 3201 | * @type string $siteurl The site URL sending the mail. |
| 3202 | * } |
| 3203 | */ |
| 3204 | $content = apply_filters( 'user_erasure_fulfillment_email_content', $email_text, $email_data ); |