Skip to content
Snippets Groups Projects
Commit 1d98f903 authored by Dyszczo's avatar Dyszczo
Browse files

Merge branch 'bugfix/get-template-path' into 'master'

added missing method - get_template_path

See merge request !14
parents 2ee881c3 b1f2e04f
Branches
Tags
1 merge request!14added missing method - get_template_path
Pipeline #7514 failed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment