| 3135 | /** |
| 3136 | * Filters the subject of the email sent when an erasure request is completed. |
| 3137 | * |
| 3138 | * @since 4.9.7 |
| 3139 | * |
| 3140 | * @param string $subject The email subject. |
| 3141 | * @param string $sitename The name of the site. |
| 3142 | * @param array $email_data { |
| 3143 | * Data relating to the account action email. |
| 3144 | * |
| 3145 | * @type WP_User_Request $request User request object. |
| 3146 | * @type string $message_recipient The address that the email will be sent to. Defaults |
| 3147 | * to the value of `$request->email`, but can be changed |
| 3148 | * by the `user_erasure_fulfillment_email_to` filter. |
| 3149 | * @type string $privacy_policy_url Privacy policy URL. |
| 3150 | * @type string $sitename The site name sending the mail. |
| 3151 | * @type string $siteurl The site URL sending the mail. |
| 3152 | * } |
| 3153 | */ |
| 3154 | $subject = apply_filters( 'user_erasure_complete_email_subject', $subject, $email_data['sitename'], $email_data ); |
| 3155 | |