diff --git a/src/Plugin/TemplateLoad.php b/src/Plugin/TemplateLoad.php index 89f1f782942be4944157d06d95ed209a01c70aaa..661b5b2ad99d03aec47bae64e7654e2023b651c5 100644 --- a/src/Plugin/TemplateLoad.php +++ b/src/Plugin/TemplateLoad.php @@ -56,6 +56,12 @@ trait TemplateLoad { return ob_get_clean(); } + /** + * @return string + */ + public function get_template_path() { + return trailingslashit( $this->template_path ); + } } \ No newline at end of file