Filters the body of the user request confirmation email.
Description
The email is sent to an administrator when a user request is confirmed.The following strings have a special meaning and will get replaced dynamically: <ul> <li>###SITENAME### The name of the site.</li> <li>###USER_EMAIL### The user email for the request.</li> <li>###DESCRIPTION### Description of the action being performed so the user knows what the email is for.</li> <li>###MANAGE_URL### The URL to manage requests.</li> <li>###SITEURL### The URL to the site.</li> </ul>
Parameters
$contentstring
The email content.
$email_dataarray
{ Data relating to the account action email. @type WP_User_Request $request User request object. @type string $user_email The email address confirming a request. @type string $description Description of the action being performed so the user knows what the email is for. @type string $manage_url The link to click manage privacy requests of this type. @type string $sitename The site name sending the mail. @type string $siteurl The site URL sending the mail. @type string $admin_email The administrator email receiving the mail.}
$requestWP_User_Request
User request object.
$user_emailstring
The email address confirming a request.
$descriptionstring
Description of the action being performed so the user knows what the email is for.
$manage_urlstring
The link to click manage privacy requests of this type.
4413* @type string$manage_url The link to click manage privacy requests of this type.4414* @type string$sitename The site name sending the mail.4415* @type string$siteurl The site URL sending the mail.4416* @type string$admin_email The administrator email receiving the mail.4417*}4418*/4419$content=apply_filters('user_request_confirmed_email_content',$content,$email_data);44204421$content=str_replace('###SITENAME###',$email_data['sitename'],$content);4422$content=str_replace('###USER_EMAIL###',$email_data['user_email'],$content);4423$content=str_replace('###DESCRIPTION###',$email_data['description'],$content);4424$content=str_replace('###MANAGE_URL###',sanitize_url($email_data['manage_url']),$content);4425$content=str_replace('###SITEURL###',sanitize_url($email_data['siteurl']),$content);
History
Introduced in 5.8.0. Unchanged from 6.7.7 through 7.1.0.