Skip to content

Kirby 3.8.4

$pageactions->unpublish()

Convert a page from listed or unlisted to draft.

$pageactions->unpublish(): Kirby\Cms\PageActions

Return type

Kirby\Cms\PageActions

This method does not modify the existing $pageactions 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\PageActions