Deprecated. Rank helpers moved to Clanbite Ranks plugin.

Clanbite Points

clanbite_points_get_rank_progress( int $user_id, string $rank_type_key ): array<string, mixed>

Global alias of Kernowdev\ClanbitePoints\clanbite_points_get_rank_progress().

Global alias of \Kernowdev\ClanbitePoints\clanbite_points_get_rank_progress() so themes and other plugins can use the documented name behind the usual function_exists() check.

Parameters

$user_id (int) Required

User ID.

$rank_type_key (string) Required

Rank type key from the Ranks settings.

Returns

array<string, mixed> Progress payload, or an empty array when Ranks is inactive.

Defined in inc/functions-global.php