Thanks but pls help because I am not a programmer, just a user although I know how to create a custom plugin with this hook. The code is
function my_admin_filter($recipients = array(), $email) {
// $recipients is an array of admin email addresses
// $email will be 'subscribe' or 'unsubscribe'
if ($email == 'subscribe') {
foreach ($recipients as $key => $email) {
if ( $email == '[email protected]') {
unset($recipients[$key]);
}
}
$recipients[] = '[email protected]';
}
return $recipients;
}
add_filter('s2_admin_email', 'my_admin_filter', 10, 2);
If I have 10 admin email addresses but I want only to have: [email protected] receive the confirmation emails how to I change the code? Thanks