Send Admin Emails to Multiple Email Addresses

Is there a hook that would allow me to email multiple email addresses for the default admin email notifications?

I was hoping I could build an array:

$adminEmails = array('[email protected]', '[email protected]');

Then have all admin emails (like new user notifications) sent to $adminEmails

Possible?

3 s
3

Try this:

update_option( 'admin_email', '[email protected], [email protected]' );

Note that the value is a string; open and close quotes only!

Leave a Comment