Deprecated. Use clanbite_render_avatar(): the ring is part of the avatar and follows the Ranks settings.

Clanbite Since 1.2.0 Updated in 1.3.0

clanbite_render_avatar_progress_bar( int $user_id, string $shape = 'circle', string $size_class = 'large' ): string

Render avatar progress bar for a user.

Parameters

$user_id (int) Required

User ID.

$shape (string) Optional

Avatar shape.

Default: 'circle'

$size_class (string) Optional

Avatar size class.

Default: 'large'

Returns

string Always an empty string.

Defined in src/blocks/shared/components/avatar-progress-bar.php

Changelog

VersionDescription
1.3.0Updated.
1.2.0Introduced.