new_admin_email_subject
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
new_admin_email_subject
wp-admin/includes/misc.php 1529
$subject = apply_filters( 'new_admin_email_subject', $subject );