Skip to content

Kirby 4.4.1

$pages->template()

Filter all pages by the given template

$pages->template(string|array $templates): Kirby\Cms\Pages

Parameters

Name Type Default
$templates * string|array

Return type

Kirby\Cms\Pages

Parent class

Kirby\Cms\Pages