wppaste
WordPress

apply_filters( 'user_request_confirmed_email_to', string $admin_email, WP_User_Request $request )

Since
4.9.6
Filters the recipient of the data request confirmation notification.

Description

In a Multisite environment, this will default to the email address of the network admin because, by default, single site admins do not have the capabilities required to process requests. Some networks may wish to delegate those capabilities to a single-site admin, or a dedicated person responsible for managing privacy requests.

Compatibility

WordPress
since 4.9.6
  • 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

$admin_emailstring
The email address of the notification recipient.
$requestWP_User_Request
The request that is initiating the notification.

Where this hook fires · 1

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

Source code

	 *	 * @since 4.9.6	 *	 * @param string          $admin_email The email address of the notification recipient.	 * @param WP_User_Request $request     The request that is initiating the notification.	 */	$admin_email = apply_filters( 'user_request_confirmed_email_to', get_site_option( 'admin_email' ), $request ); 	$email_data = array(		'request'     => $request,		'user_email'  => $request->email,		'description' => $action_description,		'manage_url'  => $manage_url,

Changelog

Introduced in 4.9.6. 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.