Skip to content

Kirby 4.4.1

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