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
d6d3dd40
Commit
d6d3dd40
authored
Jan 21, 2018
by
Ali Arshad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added payment gateway 50%
parent
fc69a48d
Pipeline
#197
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
functions.php
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
+3
-2
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
View file @
d6d3dd40
...
...
@@ -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'
;
...
...
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