$version->modified()
Returns the modification timestamp of a version if it exists
$version->modified() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
$version->modified(Kirby\Cms\Language|string $language = 'default'): int|null
Parameters
| Name | Type | Default |
|---|---|---|
| $language | Kirby\Cms\Languageorstring |
'default'
|
Return types
intornull
This method modifies the existing $version object it is applied to and returns it again.
Parent class
Examples
$page->version('changes')->modified();
// for a particular language
$page->version('changes')->modified('de');
$page->version('changes')->modified('current');
$page->version('changes')->modified('default');