HI,
In the theme options, it is only possible to able/disable booking notification mail to wordpress admin and I would like to send booking notification mail to other recipients like in my case tour_mail.
Where I can change the code for that:
/wp-content/plugins/ct-booking/ct-booking.php file maybe???
function ct_send_mail( $from_name, $from_address, $to_address, $subject, $description ) {
//Create Email Headers
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= "From: ".$from_name." <".$from_address.">\n";
$headers .= "Reply-To: ".$from_name." <".$from_address.">\n";
$message = "\n";
$message .= "\n";
$message .= $description;
$message .= "\n";
$message .= "\n";
$mailsent = wp_mail( $to_address, $subject, $message, $headers );
return ($mailsent)?(true):(false);
}
Thanks!
Best Regards
Pedro Pires
Your writing is really great. wyo meaning I’m so glad I read it. It kept me hooked the whole way through.