# clanbite_points_get_balance()

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.

```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`
