apply_filters( ‘wp_privacy_personal_data_email_to’, string $request_email, WP_User_Request $request )

In this article

Filters the recipient of the personal data export email notification.

Description

Should be used with great caution to avoid sending the data export link to the wrong email.

Parameters

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

Source

$request_email = apply_filters( 'wp_privacy_personal_data_email_to', $request->email, $request );

Changelog

VersionDescription
5.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.