Skip to content

$user->save()

Stores the content on disk

$user->save(array $data = null, string $languageCode = null, bool $overwrite = false): Kirby\Cms\ModelWithContent

Parameters

Name Type Default
$data array null
$languageCode string null
$overwrite bool false

Return type

Kirby\Cms\ModelWithContent

This method does not modify the existing $user object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\User inherited from Kirby\Cms\ModelWithContent