Clanbite Since 1.6.3
version_avatar_url( mixed $url, mixed $user_id ): mixedAdd the avatar's attachment ID to its address as ver, so a browser or cache never shows a previous cut-out of the same picture.
Only for avatars that were cut from an original (their file may have been re-used by an earlier release); a changed position makes a new attachment, so the address changes with the picture.
public
Class: Kernowdev\Clanbite\Extensions\Players\Player_Media
Parameters
$url(mixed) RequiredAvatar URL.
$user_id(mixed) RequiredPlayer.
Returns
mixed
Defined in inc/extensions/players/class-player-media.php
Changelog
| Version | Description |
|---|---|
| 1.6.3 | Introduced. |