Skip to content

Commit ab599ea

Browse files
committed
Use new namespaced functions
1 parent 2e8532c commit ab599ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Theme/Theme.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function bootstrap( $config = [] ) {
8080
}
8181

8282
/**
83-
* Render a template partial using app_render().
83+
* Render a template partial using WPEmerge\render().
8484
* Interface matches get_template_part() with the addition of $context.
8585
*
8686
* @param string $partial
@@ -103,7 +103,7 @@ public function partial( $partial, $child = '', $context = [] ) {
103103

104104
$templates[] = "partials/${partial}.php";
105105

106-
app_render( $templates, $context );
106+
WPEmerge\render( $templates, $context );
107107
}
108108

109109
/**

0 commit comments

Comments
 (0)