# $productPage->move()

> Moves the page to a new parent if the new parent accepts the page type

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

```php
$productPage->move(Kirby\Cms\Site|Kirby\Cms\Page $parent): Kirby\Cms\Page
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$parent` | `Kirby\Cms\Site\|Kirby\Cms\Page` | `–` |

## Return type

`Kirby\Cms\Page`

## Parent class

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