user_erasure_complete_email_headers filter-hookWP 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.

Filters the headers of the data erasure fulfillment notification.


add_filter( 'user_erasure_complete_email_headers', 'wp_kama_user_erasure_complete_email_headers_filter', 10, 3 );

 * Function for `user_erasure_complete_email_headers` filter-hook.
 * @param string|array $headers The email headers.
 * @param string       $subject The email subject.
 * @param string       $content The email content.
 * @return string|array
function wp_kama_user_erasure_complete_email_headers_filter( $headers, $subject, $content ){

	// filter...
	return $headers;
The email headers.
The email subject.
The email content.


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

Where the hook is called

wp-includes/user.php 4480-4485
$headers = apply_filters_deprecated(
	array( $headers, $subject, $content, $request_id, $email_data ),

Where the hook is used in WordPress

Usage not found.