From ab599ea93bb3523974ce272d0a257ddfa73d17df Mon Sep 17 00:00:00 2001 From: Atanas Angelov Date: Sun, 26 May 2019 01:26:53 +0300 Subject: [PATCH] Use new namespaced functions --- src/Theme/Theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Theme/Theme.php b/src/Theme/Theme.php index 1c0803e..1e437f1 100644 --- a/src/Theme/Theme.php +++ b/src/Theme/Theme.php @@ -80,7 +80,7 @@ public function bootstrap( $config = [] ) { } /** - * Render a template partial using app_render(). + * Render a template partial using WPEmerge\render(). * Interface matches get_template_part() with the addition of $context. * * @param string $partial @@ -103,7 +103,7 @@ public function partial( $partial, $child = '', $context = [] ) { $templates[] = "partials/${partial}.php"; - app_render( $templates, $context ); + WPEmerge\render( $templates, $context ); } /**