Skip to content

Commit 6c82bcf

Browse files
committed
fix load template function
1 parent f6bf702 commit 6c82bcf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inc/Template.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,10 @@ public function get_template() {
10601060
return $this->active;
10611061
}
10621062

1063+
public function get_template_dir() {
1064+
return apply_filters( 'dwqa_get_template_dir', 'dwqa-templates/' );
1065+
}
1066+
10631067
public function load_template( $name, $extend = false, $include = true ) {
10641068
if ( $extend ) {
10651069
$name .= '-' . $extend;

0 commit comments

Comments
 (0)