Skip to content

Kirby 6.0.1

$user->deleteAvatar()

Deletes the existing avatar if it exists

$user->deleteAvatar(): bool

Return type

bool

Parent class

Kirby\Cms\User