Filters the text of the email sent when an account action is attempted.
Description
The following strings have a special meaning and will get replaced dynamically: <h3>DESCRIPTION### Description of the action being performed so the user knows what the email is for.</h3> <h3>CONFIRM_URL### The link to click on to confirm the account action.</h3> <h3>SITENAME### The name of the site.</h3> <h3>SITEURL### The URL to the site.</h3>
Parameters
$contentstring
Text in the email.
$email_dataarray
{ Data relating to the account action email. @type WP_User_Request $request User request object. @type string $email The email address this is being sent to. @type string $description Description of the action being performed so the user knows what the email is for. @type string $confirm_url The link to click on to confirm the account action. @type string $sitename The site name sending the mail. @type string $siteurl The site URL sending the mail.}
$requestWP_User_Request
User request object.
$emailstring
The email address this is being sent to.
$descriptionstring
Description of the action being performed so the user knows what the email is for.
$confirm_urlstring
The link to click on to confirm the account action.
4834* @type string$description Description of the action being performed so the user knows what the email is for.4835* @type string$confirm_url The link to click on to confirm the account action.4836* @type string$sitename The site name sending the mail.4837* @type string$siteurl The site URL sending the mail.4838*}4839*/4840$content=apply_filters('user_request_action_email_content',$content,$email_data);48414842$content=str_replace('###DESCRIPTION###',$email_data['description'],$content);4843$content=str_replace('###CONFIRM_URL###',sanitize_url($email_data['confirm_url']),$content);4844$content=str_replace('###EMAIL###',$email_data['email'],$content);4845$content=str_replace('###SITENAME###',$email_data['sitename'],$content);4846$content=str_replace('###SITEURL###',sanitize_url($email_data['siteurl']),$content);
History
Introduced in 4.9.6. Unchanged from 6.7.7 through 7.1.0.