apply_filters( 'wp_privacy_personal_data_email_to', string $request_email, WP_User_Request $request )
- Since
- 5.3.0
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 wrong emails.
Compatibility
- WordPress
- since 5.3.0
- 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
$request_emailstring- The email address of the notification recipient.
$requestWP_User_Request- The request that is initiating the notification.
Where this hook fires · 1
wp-admin/includes/privacy-tools.php:623wp_privacy_send_personal_data_export_email()
Source code
* * @since 5.3.0 * * @param string $request_email The email address of the notification recipient. * @param WP_User_Request $request The request that is initiating the notification. */ $request_email = apply_filters( 'wp_privacy_personal_data_email_to', $request->email, $request ); $email_data = array( 'request' => $request, 'expiration' => $expiration, 'expiration_date' => $expiration_date, 'message_recipient' => $request_email,Changelog
Introduced in 5.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.8.8 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.