Skip to content

Kirby 5.1.2

$site->versions()

Creates an array with two versions of the content: latest and changes.

$site->versions(): array

Return type

array

This method modifies the existing $site object it is applied to and returns it again.

Parent class

Kirby\Panel\Site inherited from Kirby\Panel\Model