From 4f6b0ccec80f22d1cec319f828ef0fc6c7a97263 Mon Sep 17 00:00:00 2001
From: Grzegorz Rola <grola@seostudio.pl>
Date: Fri, 27 Jul 2018 10:53:17 +0200
Subject: [PATCH] added missing method - get_template_path

---
 src/Plugin/TemplateLoad.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/Plugin/TemplateLoad.php b/src/Plugin/TemplateLoad.php
index 89f1f78..661b5b2 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
-- 
GitLab