Clanbite Ranks

clanbite_ranks_get_points_balance( int $user_id, string $points_type_key ): int

A member's balance for one point type.

Reads through Points when it is active, otherwise from the clanbite_points_balances user meta.

Namespace: Kernowdev\ClanbiteRanks

Parameters

$user_id (int) Required

User ID.

$points_type_key (string) Required

Point type key.

Returns

int Balance (0 for an unknown member or type).

Defined in inc/functions.php

Changelog

VersionDescription
1.2.3Updated.