Skip to content

Kirby 5.1.1

$page->isAccessible()

Checks if the page is accessible to the current user This permission depends on the read option until v6

$page->isAccessible(): bool

Return type

bool

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

Parent class

Kirby\Cms\Page