# clanbite_ranks_get_points_balance()

A member's balance for one point type.

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

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

## Parameters

- `$user_id` (int) User ID.
- `$points_type_key` (string) Point type key.

## Return

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

## Changelog

| Version | Description |
| --- | --- |
| 1.2.3 | Updated |
