# clanbite_points_awarded

Fires after points were written for a core/button click reward.

```php
do_action( 'clanbite_points_awarded', int $user_id, string $points_type_key, string $action_key, int $amount, int $ledger_id, array<string, mixed> $context )
```

## Parameters

- `$user_id` (int) Recipient.
- `$points_type_key` (string) Points type key.
- `$action_key` (string) Action slug (`button_click_{reward_key}`).
- `$amount` (int) Points granted this click.
- `$ledger_id` (int) Ledger row ID.
- `$context` (array<string, mixed>) Source context for click rewards.
