Deprecated. Rank helpers moved to Clanbite Ranks plugin.

Clanbite Points

clanbite_points_get_user_rank_label( int $user_id, string $rank_type_key ): string

Deprecated proxy for a member's rank label.

Namespace: Kernowdev\ClanbitePoints

Parameters

$user_id (int) Required

User ID.

$rank_type_key (string) Required

Rank type key from the Ranks settings.

Returns

string Rank label, or an empty string when Ranks is inactive.

Defined in inc/functions.php

Changelog

VersionDescription
1.2.1Updated.