Skip to content

Kirby 5.6.4

$pageCopy->removeChanges()

Removes unsaved changes from the copy, its files and children. The lock is forced open, as it can still be held by the editor of the original page.

$pageCopy->removeChanges() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$pageCopy->removeChanges(): void

Parent class

Kirby\Cms\PageCopy