Hi I would also like to know how to do this! please let us know if it can be done, and if so, how! thanks
I have two people set as admin’s on my wordpress website. I am one and I am getting the new user approval notices and the other person is not.
How can I set it that she gets the notices and not me? or for certain, we both get them?
I have an addon available for purchase that gives you more control over who gets the admin emails (https://newuserapprove.com).
That plugin is just using filters so it can be done without the addon.
This code would need to be added to a separate plugin or to your theme:
function email_admin( $to ) {
// add more email addresses
$to[] = '[email protected]';
return $to;
}
add_filter( 'new_user_approve_email_admins', 'email_admins' );
add_filter( 'new_user_approve_email_admins', 'email_admins' );
should be
add_filter( 'new_user_approve_email_admins', 'email_admin' );
function email_admin( $to ) {
// add more email addresses
$to[] = '[email protected]';
return $to;
}
add_filter( 'new_user_approve_email_admins', 'email_admin' );
I am a dummy when it comes to knowing how to add a filter. I would need for you to tell me exactly what to copy and exactly where to paste it. and any other instructions needed such as, do I put in the persons email address that I want it to go to?
dorothy,