# $ordersPage->renderVersionFromRequest()

> Determines which version (if any) can be rendered based on the token authentication in the current request

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

```php
$ordersPage->renderVersionFromRequest(): null|Kirby\Content\VersionId
```

## Return type

`null|Kirby\Content\VersionId`

## Parent class

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