WordPress at a glance
filter is not described

wp_privacy_personal_data_email_to filter-hook . WP 5.3.0

Filters the recipient of the personal data export email notification. Should be used with great caution to avoid sending the data export link to wrong emails.

Usage

add_filter( 'wp_privacy_personal_data_email_to', 'filter_function_name_2161', 10, 2 );
function filter_function_name_2161( $request_email, $request ){
	// filter...

	return $request_email;
}
$request_email(string)
The email address of the notification recipient.
$request(WP_User_Request)
The request that is initiating the notification.

Список изменений

С версии 5.3.0 Введена.

Где вызывается хук

wp_privacy_send_personal_data_export_email()
wp_privacy_personal_data_email_to
wp-admin/includes/privacy-tools.php 591
$request_email = apply_filters( 'wp_privacy_personal_data_email_to', $request->email, $request );

Где используется хук в ядре WP

Использование не найдено.