Theme.php
public function render($wrapperKey = false, $sections = false)
    {
        do_action("before_theme_render");

        if ($wrapperKey):
            $this->setWrapper($wrapperKey);
        endif;

        if ($sections):
            $this->setSections($sections);
        endif;

        $wrapper = $this->getRegisteredWrapper($this->wrapper);

        include get_template_directory() . "/" . $wrapper->template;

        do_action("after_ntl_render");
    }
public function render($wrapperKey = false, $sections = false)
    {
        do_action("before_theme_render");

        if ($wrapperKey):
            $this->setWrapper($wrapperKey);
        endif;

        if ($sections):
            $this->setSections($sections);
        endif;

        $wrapper = $this->getRegisteredWrapper($this->wrapper);

        include get_template_directory() . "/" . $wrapper->template;

        do_action("after_ntl_render");
    }
Render template

@param bool|string $wrapperKey Same as theme()->setWrapper(...)
@param bool|array $sections Same as theme()->setSections(...)