Adding multiple emails to a

I inherited a WordPress site that has a lot of custom coding that appears to be Bootstrap. A contact form is coded in a PHP file and the client would like to add a couple more email addresses for submissions to be sent to.

I’ve found the code for sending the email, but I want to make sure that I update it correctly and not break it. Here is the line of code:

$emails = array( $email, ‘myemail@me.com’ );

I’m assuming that I will either need to update it to

$emails = array( $email, ‘myemail@me.com, anotheremail@me.com’ );

or

$emails = array( $email, ‘myemail@me.com’,’anotheremail@me.com’ );

Any insight on which would be correct?

Read more here:: Adding multiple emails to a

Leave a Reply

Your email address will not be published. Required fields are marked *