is_valid) { $hasError = true; } } //If there is no error, send the email if(!isset($hasError)) { $name = wp_filter_kses( $name ); $email = wp_filter_kses( $email ); $subject = wp_filter_kses( $subject ); $comments = wp_filter_kses( $comments ); if(function_exists('stripslashes')) { $subject = stripslashes($subject); $comments = stripslashes($comments); } $emailTo = $evolve_email_address; //Put your own email address here $emailFrom = $evolve_sent_email_header; $body = __('Name:', 'evolve')." $name \n\n"; $body .= __('Email:', 'evolve')." $email \n\n"; $body .= __('Subject:', 'evolve')." $subject \n\n"; $body .= __('Comments:', 'evolve')."\n $comments"; $headers = 'Reply-To: ' . $name . ' <' . $email . '>' . "\r\n"; if($evolve_sent_email_header) { $headers .= 'From: '. $emailFrom . ' <' . $email . '>' . "\r\n"; } else { $headers .= 'From: '. $emailTo . ' <' . $email . '>' . "\r\n"; } $mail = wp_mail($emailTo, $subject, $body, $headers); $emailSent = true; } if($emailSent == true) { $_POST['contact_name'] = ''; $_POST['email'] = ''; $_POST['url'] = ''; $_POST['msg'] = ''; } } ?>

ID ) ): ?> ', '' ); ?>