# Companion_Hooks::on_friendship_removed()

Take back the points earned by a friendship (the request and the acceptance) when it ends.

```php
on_friendship_removed( $friendship_id, $row ): void
```

## Parameters

- `$friendship_id` (int) Row ID.
- `$row` (object) Friendship row as it was before removal.

## Return

`void` 

## Changelog

| Version | Description |
| --- | --- |
| 1.4.0 | Introduced |
