Clanbite Points

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

Total points balance for a user and points type key.

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

Parameters

$user_id (int) Required

User ID.

$points_type_key (string) Required

Sanitized type key from settings.

Returns

int

Defined in inc/functions-global.php