Skip to content

Kirby 5.4.0

$userActions->createAvatar()

Creates a new avatar for the user

$userActions->createAvatar(string $source, string $extension, bool $move = false): Kirby\Cms\UserActions

Parameters

Name Type Default
$sourcerequired string no default value
$extensionrequired string no default value
$move bool false

Return type

Kirby\Cms\UserActions

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

Parent class

Kirby\Cms\UserActions