Skip to content

Kirby 5.4.0

Find::site()

Returns the site object if the site is accessible

Find::site(): Kirby\Cms\Site

Return type

Kirby\Cms\Site

Exceptions

Type Description
Kirby\Exception\NotFoundException if the site cannot be accessed

Parent class

Kirby\Cms\Find