Skip to content

Kirby 4.2.0

PageRules::publish()

Check if the page can be published (status change from draft to listed or unlisted)

PageRules::publish(Kirby\Cms\Page $page): bool

Parameters

Name Type Default
$page * Kirby\Cms\Page

Return type

bool

Parent class

Kirby\Cms\PageRules