Skip to content

Kirby 4.9.6

$user->deleteAvatar()

Deletes the existing avatar if it exists

$user->deleteAvatar(): bool

Return type

bool

Parent class

Kirby\Cms\User