# clanbite_points_get_balance()

Total points balance for a user and points type key.

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

## Parameters

- `$user_id` (int) User ID.
- `$points_type_key` (string) Sanitized type key from settings.

## Return

`int`
