# $orderPage->delete()

> Deletes the page

- Source: `src/Cms/PageActions.php#L652` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/PageActions.php#L652>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$orderPage->delete(bool $force = false): bool
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$force` | `bool` | `false` |

## Return type

`bool`

## Parent class

`Wagnerwagner\Merx\OrderPage` inherited from `Kirby\Cms\Page`
