WordPress at Your Fingertips
filter is not described

user_erasure_complete_email_headers filter-hook . WP 5.4.0

Deprecated from version 5.8.0. It is no longer supported and can be removed in future releases. See user_erasure_fulfillment_email_headers.

Deprecated: 5.8.0 Use {@see 'user_erasure_fulfillment_email_headers'} instead.

Filters the headers of the data erasure fulfillment notification.

Usage

add_filter( 'user_erasure_complete_email_headers', 'filter_function_name_6228', 10, 3 );
function filter_function_name_6228( $headers, $subject, $content ){
	// filter...

	return $headers;
}
$headers(string|array)
The email headers.
$subject(string)
The email subject.
$content(string)
The email content.

Changelog

Since 5.4.0 Introduced.
Deprecated Since 5.8.0 Use {@see 'user_erasure_fulfillment_email_headers'} instead.

Where the hook is called

_wp_privacy_send_erasure_fulfillment_notification()
user_erasure_complete_email_headers
wp-includes/user.php 4038-4043
$headers = apply_filters_deprecated(
	'user_erasure_complete_email_headers',
	array( $headers, $subject, $content, $request_id, $email_data ),
	'5.8.0',
	'user_erasure_fulfillment_email_headers'
);

Where in WP core the hook is used WordPress

Usage not found.