new_user_approve_email_header

Modify the list of headers that are sent as part of the email messages

1
2
3
4
5
6
7
8
/**
* Add a new header
* $headers an array of the current email headers
*/
function add_email_header( $header ) {
    $header[] = "Content-Type: text/html; charset=\"" . get_option( 'blog_charset' ) . "\"\n";
}
add_filter( 'new_user_approve_email_header', 'add_email_header' );
Scroll to Top