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, ‘firstname.lastname@example.org’ );
I’m assuming that I will either need to update it to
$emails = array( $email, ‘email@example.com, firstname.lastname@example.org’ );
$emails = array( $email, ‘email@example.com’,’firstname.lastname@example.org’ );
Any insight on which would be correct?
Read more here:: Adding multiple emails to a