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: <h3>SITENAME### The name of the site.</h3> <h3>USER_EMAIL### The user email for the request.</h3> <h3>DESCRIPTION### Description of the action being performed so the user knows what the email is for.</h3> <h3>MANAGE_URL### The URL to manage requests.</h3> <h3>SITEURL### The URL to the site.</h3>
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.
4339* @type string$manage_url The link to click manage privacy requests of this type.4340* @type string$sitename The site name sending the mail.4341* @type string$siteurl The site URL sending the mail.4342* @type string$admin_email The administrator email receiving the mail.4343*}4344*/4345$content=apply_filters('user_request_confirmed_email_content',$content,$email_data);43464347$content=str_replace('###SITENAME###',$email_data['sitename'],$content);4348$content=str_replace('###USER_EMAIL###',$email_data['user_email'],$content);4349$content=str_replace('###DESCRIPTION###',$email_data['description'],$content);4350$content=str_replace('###MANAGE_URL###',sanitize_url($email_data['manage_url']),$content);4351$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.