Commit d6d3dd40 by Ali Arshad

added payment gateway 50%

parent fc69a48d
Pipeline #197 passed with stage
in 0 seconds
......@@ -76,7 +76,8 @@ function vq_lms_process_order()
}
}
echo wp_insert_post(array(
wp_insert_post(array(
"post_content" => $postContent,
"post_title" => date("Y-m-d h:i:sa"),
"post_type" => "vq_lms_orders",
......@@ -345,7 +346,7 @@ function vq_render_short_banner($attr)
$txt = isset($attr['txt']) ? $attr['txt'] : "Heading";
$txtClr = isset($attr['txtclr']) ? $attr['txtclr'] : "#fff";
$btnClr = isset($attr['btnclr']) ? $attr['btnclr'] : "#fff";
$btnLink = isset($attr['btnlink']) ? $attr['btnlink'] : 'https://google.com';
$btnLink = isset($attr['btnlink']) ? $attr['btnlink'] : site_url("lms-checkout");
$btnTxt = isset($attr['btntxt']) ? $attr['btntxt'] : 'Click Here';
......
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