Skip to content

Kirby 5.0.4

$page->publish()

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

Return types

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