• Resolved walterkeener3

    (@walterkeener3)


    Hello – how do I change the default admin email that gets the new user emails? Is there a filter – I see no settings for this plugin

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @walterkeener3,

    Thanks for contacting us,

    I hope you are doing well, The New User Approve plugin gets an admin email from the WordPress default settings which you can find in general settings and you can easily change that email but if you don’t want to change that setting and want to get new user emails to any other email then you can use this filter “new_user_approve_email_header“.

    Please have a look at the screenshot.

    Thanks & Regards

    WP Experts Support Team

    Thread Starter walterkeener3

    (@walterkeener3)

    I would like to use this filter: new_user_approve_email_header

    What is the function to change the email using this method please?

    Thread Starter walterkeener3

    (@walterkeener3)

    this function is not working – please advise:

    function send_new_user_approval_email_to_different_address( $headers ) {
    // Replace “[email protected]” with the email address you want to send the email to
    $headers[] = ‘Bcc: [email protected]’;
    return $headers;
    }
    add_filter( ‘new_user_approve_email_header’, ‘send_new_user_approval_email_to_different_address’ );

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @walterkeener3,

    We have to check this and we will keep you updated on this.

    Thank you

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @walterkeener3,

    In the free version of the New User Approve, you can use the following snippet to change the admin email in all the emails that are sending from this plugin.

    add_filter('new_user_approve_email_header',function($headers){

    $admin_email = '[email protected]' ;

    $from_name = get_option( 'blogname' );

    $headers = array( "From: \"{$from_name}\" <{$admin_email}>\n" );

    return $headers;

    });

    Thank you

    Thread Starter walterkeener3

    (@walterkeener3)

    Im sorry – i dont mean the email sending “From” but the email to send “To”.

    Currently it uses the wordpress settings admin email and I would like to change this to another email without changing the wordpress admin email.

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @walterkeener3,

    You can get that setting with a lot of other features in the premium version of the New User Approve plugin. There you can set multiple admins to whom you want to send emails.

    Please have a look at the screenshot.

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Change Default Admin Email’ is closed to new replies.