# Companion_Hooks::on_forums_topic_trashed()

Take back what a trashed forum topic and the replies in it earned.

```php
on_forums_topic_trashed( $topic_id, $topic ): void
```

## Parameters

- `$topic_id` (int) Topic ID.
- `$topic` (object) Topic row.

## Return

`void` 

## Changelog

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