# Player_Media::register_new_avatar_source()

Called by the Players extension right after a new avatar file was stored: it is the original, so keep it and reset the position.

```php
register_new_avatar_source( int $user_id, int $attachment_id ): void
```

## Parameters

- `$user_id` (int) Player.
- `$attachment_id` (int) The newly uploaded original.

## Return

`void` 

## Changelog

| Version | Description |
| --- | --- |
| 1.6.3 | Introduced |
