# Companion_Hooks::on_social_comment_deleted()

Take back the points a deleted social comment (and every reply below it) earned, with the reactions on them.

```php
on_social_comment_deleted( $comment_id, $row, $deleted_ids = array() ): void
```

## Parameters

- `$comment_id` (int) Comment that was deleted.
- `$row` (object) Its row as it was before deletion.
- `$deleted_ids` (int[]|int) Every comment ID removed with it.

## Return

`void` 

## Changelog

| Version | Description |
| --- | --- |
| 1.4.4 | Introduced |
