# Companion_Hooks::on_friend_request_created()

Award points to a member who sent a friend request.

```php
on_friend_request_created( $request_id, $from, $to ): void
```

## Parameters

- `$request_id` (int) Friendship / request row ID.
- `$from` (int) Requester.
- `$to` (int) Recipient.

## Return

`void` 

## Changelog

| Version | Description |
| --- | --- |
| 1.2.1 | Updated |
