Skip to content

Kirby 5.2.0

$template->render()

Renders the template with the given template data

$template->render(array $data = [ ]): string

Parameters

Name Type Default
$data array [ ]

Return type

string

This method modifies the existing $template object it is applied to and returns it again.

Parent class

Kirby\Template\Template