Skip to content

Commit

Permalink
Use new namespaced functions
Browse files Browse the repository at this point in the history
  • Loading branch information
atanas-dev committed May 25, 2019
1 parent 2e8532c commit ab599ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Theme/Theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -103,7 +103,7 @@ public function partial( $partial, $child = '', $context = [] ) {

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

app_render( $templates, $context );
WPEmerge\render( $templates, $context );
}

/**
Expand Down

0 comments on commit ab599ea

Please sign in to comment.