# Data_Access::delete_comment_tree()

Delete a comment with its replies and their reactions.

```php
delete_comment_tree( int $comment_id ): array
```

## Parameters

- `$comment_id` (int) Comment PK.

## Return

`int[]` IDs deleted (the comment first, then every reply below it); empty when it did not exist.

## Changelog

| Version | Description |
| --- | --- |
| 1.6.2 | Introduced |
