get_template()
get_template(string $template_name, array $args = array()) : string
Return the HTML for the specified template.
Parameters
string |
$template_name |
The template name (e.g. 'path/to/template.php') |
array |
$args |
The template args. |
Returns
string
— The template HTML.