$page->delete() Deletes the page pages.delete kirby/src/Cms/PageActions.php#L593 $page->delete(bool $force = false): bool Parameters Name Type Default $force bool false Return type bool Parent class Kirby\Cms\Page Example try { page('blog/old-article')->delete(); echo 'The page has been deleted'; } catch(Exception $e) { echo $e->getMessage(); }