diff --git a/src/bbpress-compat.php b/src/bbpress-compat.php new file mode 100644 index 0000000..736f44c --- /dev/null +++ b/src/bbpress-compat.php @@ -0,0 +1,25 @@ +locate("bbpress/{$template}") ); + if( !empty( $theme_template ) ) { + $view = app('view.finder')->getPossibleViewNameFromPath($theme_template); + $view = trim($view, '\\/.'); + echo view($view)->render(); + return get_stylesheet_directory() . '/index.php'; + } + } + return $templates; + }, PHP_INT_MAX, 3); + +}