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
2ce123ce
Commit
2ce123ce
authored
Feb 13, 2018
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
passing data to content of order post
parent
4ac651c6
Pipeline
#294
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
template.php
WWW_DATA/wp-content/plugins/apex_global_lms/template.php
+16
-0
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/template.php
View file @
2ce123ce
...
@@ -46,6 +46,22 @@ function use_lms_template($data)
...
@@ -46,6 +46,22 @@ function use_lms_template($data)
exit
;
exit
;
}
else
if
(
is_page
(
'learning-management'
))
{
}
else
if
(
is_page
(
'learning-management'
))
{
return
__DIR__
.
'/template/management.php'
;
return
__DIR__
.
'/template/management.php'
;
}
else
if
(
is_page
(
'lms-notify'
))
{
$id
=
$_GET
[
'order_id'
];
$content
=
get_the_content
(
$id
);
$d
=
$content
.
json_encode
(
$_GET
);
$d
.=
json_encode
(
$_POST
);
array
(
'ID'
=>
$id
,
'post_content'
=>
$d
,
);
wp_update_post
(
$post
);
}
}
return
$data
;
return
$data
;
...
...
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