Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-builder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-builder
Merge requests
!14
added missing method - get_template_path
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
added missing method - get_template_path
bugfix/get-template-path
into
master
Overview
0
Commits
2
Pipelines
1
Changes
1
Merged
Krzysztof Dyszczyk
requested to merge
bugfix/get-template-path
into
master
6 years ago
Overview
0
Commits
2
Pipelines
1
Changes
1
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
b1f2e04f
2 commits,
6 years ago
1 file
+
8
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Plugin/TemplateLoad.php
+
8
−
0
View file @ b1f2e04f
Edit in single-file editor
Open in Web IDE
Show full file
@@ -56,6 +56,14 @@ trait TemplateLoad {
return
ob_get_clean
();
}
/**
* Get template path.
*
* @return string
*/
public
function
get_template_path
()
{
return
trailingslashit
(
$this
->
template_path
);
}
}
\ No newline at end of file
Loading