Merx

$productPage->previewUrl()

Returns the preview URL with authentication for drafts and versions

$productPage->previewUrl(Kirby\Content\VersionId|string $versionId = 'latest'): null|string

Parameters

Name Type Default
$versionId Kirby\Content\VersionId or string 'latest'

Return type

null or string

Parent class

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