Commit 3077769d by jenkins

Merge Request accepted by jenkins build success

parents df3af194 4fa1ca7c
Pipeline #548 failed with stage
in 0 seconds
...@@ -121,7 +121,7 @@ function vq_lms_process_order() ...@@ -121,7 +121,7 @@ function vq_lms_process_order()
} }
$options = get_option('vq_lms_settings_options'); $options = get_option('vq_lms_settings_options');
$to = get_option('vq_lms_payment_notify_email'); //$to = get_option('vq_lms_payment_notify_email');
$itemsXML = ""; $itemsXML = "";
$totalCost = 0; $totalCost = 0;
...@@ -180,15 +180,15 @@ function vq_lms_process_order() ...@@ -180,15 +180,15 @@ function vq_lms_process_order()
} }
$to .= ', '.$user['email']; // $to .= ', '.$user['email'];
$subject = "Checkout Confirmation"; // $subject = "Checkout Confirmation";
$body = ''; // $body = '';
$body .= $postContent; // $body .= $postContent;
//
add_filter('wp_mail_content_type', 'set_html_content_type'); // add_filter('wp_mail_content_type', 'set_html_content_type');
wp_mail($to, $subject, $body); // wp_mail($to, $subject, $body);
remove_filter('wp_mail_content_type', 'set_html_content_type'); // remove_filter('wp_mail_content_type', 'set_html_content_type');
wp_mail($to, "APEX Checkout", $postContent); // wp_mail($to, "APEX Checkout", $postContent);
if($oid > 0) { if($oid > 0) {
$post = array( $post = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment