Skip to content

Kirby 4.4.1

$user->email()

Returns the user email address

$user->email(): string|null

Return type

string|null

Parent class

Kirby\Cms\User

Example

<?= $kirby->user('bastian@example.com')->email() ?>