Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apex_micro_site
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Ali Arshad
apex_micro_site
Commits
3077769d
Commit
3077769d
authored
May 16, 2018
by
jenkins
Browse files
Options
Browse Files
Download
Plain Diff
Merge Request accepted by jenkins build success
parents
df3af194
4fa1ca7c
Pipeline
#548
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
functions.php
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
+10
-10
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
View file @
3077769d
...
...
@@ -121,7 +121,7 @@ function vq_lms_process_order()
}
$options
=
get_option
(
'vq_lms_settings_options'
);
$to
=
get_option
(
'vq_lms_payment_notify_email'
);
//
$to = get_option('vq_lms_payment_notify_email');
$itemsXML
=
""
;
$totalCost
=
0
;
...
...
@@ -180,15 +180,15 @@ function vq_lms_process_order()
}
$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
);
//
$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);
if
(
$oid
>
0
)
{
$post
=
array
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment