Commit b6ccccdb by nadeem.qasmi

checkout email

parent 27a6b082
Pipeline #542 passed with stage
in 0 seconds
...@@ -173,7 +173,14 @@ function vq_lms_process_order() ...@@ -173,7 +173,14 @@ function vq_lms_process_order()
$postContent .= $user['phone']."<br /><hr />"; $postContent .= $user['phone']."<br /><hr />";
} }
$to = ', '.$user['email']; $to .= ', '.$user['email'];
$subject = "Checkout Confirmation";
$body = '';
$body .= $postContent;
add_filter('wp_mail_content_type', 'set_html_content_type');
wp_mail($to, $subject, $body);
remove_filter('wp_mail_content_type', 'set_html_content_type');
wp_mail($to, "APEX Checkout", $postContent); wp_mail($to, "APEX Checkout", $postContent);
} }
......
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