apply_filters( 'user_request_confirmed_email_content', $content, $email_data )
参数
  • (string)
    $content
    The email content.
    Required:
  • (array)
    $email_data
    {
    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.
    }

    Required:
定义位置
  • wp-includes/user.php
    , line 4177
引入
5.8.0
弃用

Filters the body of the user request confirmation email.

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:

SITENAME### The name of the site.

USER_EMAIL### The user email for the request.

DESCRIPTION### Description of the action being performed so the user knows what the email is for.

MANAGE_URL### The URL to manage requests.

SITEURL### The URL to the site.

$content = apply_filters( 'user_request_confirmed_email_content', $content, $email_data );