Commit 5affe3c8 by nadeem.qasmi

email subjects both dynamic now

parent 2af53882
Pipeline #555 passed with stage
in 0 seconds
......@@ -42,9 +42,6 @@ add_action( 'edited_vq_course_promo', 'save_course_promo', 10, 2 );
add_action('wp_ajax_nopriv_check_promo', 'vq_check_promo', 10, 2);
add_action('wp_ajax_check_promo', 'vq_check_promo', 10, 2);
function set_html_content_type(){
return 'text/html';
}
function vq_check_promo() {
$code = $_POST['data'];
......@@ -98,6 +95,10 @@ function save_course_promo($term_id) {
function vq_lms_process_order()
{
function set_html_content_type(){
return 'text/html';
}
if (!isset($_POST['data'])) {
echo "Unable to process your request";
die;
......@@ -286,8 +287,6 @@ function vq_lms_process_order()
$strxml = $strxml . "<signature>" . $_sign . "</signature>";
$strxml = $strxml . "</Request>";
echo base64_encode($strxml);
die;
......
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