Skip to content

Kirby 4.4.1

$pageactions->copy()

Copies the page to a new parent

$pageactions->copy(array $options = [ ]): Kirby\Cms\PageActions

Parameters

Name Type Default
$options array [ ]

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\DuplicateException If the page already exists

Parent class

Kirby\Cms\PageActions