wppaste
WordPress

apply_filters( 'user_request_confirmed_email_subject', string $subject, string $sitename, array $email_data )

Since
4.9.8
Filters the subject of the user request confirmation email.

Compatibility

WordPress
since 4.9.8
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Parameters

$subjectstring
The email subject.
$sitenamestring
The name of the site.
$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.
  • $sitenamestring

    The site name sending the mail.
  • $siteurlstring

    The site URL sending the mail.
  • $admin_emailstring

    The administrator email receiving the mail.

Where this hook fires · 1

  • wp-includes/user.php:4288_wp_privacy_send_request_confirmation_notification()

Source code

<?php	 *     @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.	 * }	 */	$subject = apply_filters( 'user_request_confirmed_email_subject', $subject, $email_data['sitename'], $email_data ); 	/* translators: Do not translate SITENAME, USER_EMAIL, DESCRIPTION, MANAGE_URL, SITEURL; those are placeholders. */	$content = __(		'Howdy, A user data privacy request has been confirmed on ###SITENAME###:

Changelog

Introduced in 4.9.8. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.9.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.