new_admin_email_subject filter-hookWP 6.5.0

Filters the subject of the email sent when a change of site admin email address is attempted.

Usage

add_filter( 'new_admin_email_subject', 'wp_kama_new_admin_email_subject_filter' );

/**
 * Function for `new_admin_email_subject` filter-hook.
 * 
 * @param string $subject Subject of the email.
 *
 * @return string
 */
function wp_kama_new_admin_email_subject_filter( $subject ){

	// filter...
	return $subject;
}
$subject(string)
Subject of the email.

Changelog

Since 6.5.0 Introduced.

Where the hook is called

update_option_new_admin_email()
new_admin_email_subject
wp-admin/includes/misc.php 1555
$subject = apply_filters( 'new_admin_email_subject', $subject );

Where the hook is used in WordPress

Usage not found.