The new code is tested and uploaded.
You will have to update the program:
https://www.fastsecurecontactform.com/update-to-the-latest
See this FAQ
Tip: setting optional form parameters with shortcode
https://www.fastsecurecontactform.com/shortcode-options
Setting optional email_to with shortcode:
Each contact has a name and an email address separated by a comma.
Webmaster,[email protected] (must use this format: name,email)
Also, you can have multiple E-mails, this is called a CC(Carbon Copy). Separate each CC with a semicolon.
Webmaster,[email protected];[email protected] (must use this format: name,email;email;email)
Note: this will override any email_to that is set in the form settings!
Examples:
[si-contact-form form='1' email_to='Webmaster,[email protected]']
[si-contact-form form='1' email_to='Webmaster,[email protected];[email protected]']
<?php
if ( isset($si_contact_form) ) {
echo $si_contact_form->si_contact_form_short_code( array(
'form' => '1',
'email_to' => "$name,$email_to",
) );
}
?>
If you do not have name, set something anyway, like this:
'email_to' => "user,$email_to",