Skip to content

Kirby 4.4.1

$page->publish()

$page->publish(): Kirby\Cms\Page

Return type

Kirby\Cms\Page

This method does not modify the existing $page object but returns a new object with the changes applied. Learn more →

Exceptions

Type Description
Kirby\Exception\LogicException If the folder cannot be moved

Parent class

Kirby\Cms\Page