Skip to content

Kirby 4.4.1

$user->image()

Returns a specific image by filename or the first one

$user->image(?string $filename = null): Kirby\Cms\File|null

Parameters

Name Type Default
$filename string|null null

Return type

Kirby\Cms\File|null

Parent class

Kirby\Cms\User