# clanbite_social_kit_user_can_delete_comment

Filters whether a user may delete a social comment.

```php
apply_filters( 'clanbite_social_kit_user_can_delete_comment', bool $can, object $comment, object|null $post_row, int $user_id )
```

## Parameters

- `$can` (bool) Whether the author, the post's manager or a site administrator.
- `$comment` (object) Comment row.
- `$post_row` (object|null) Parent post row.
- `$user_id` (int) User ID.

## Changelog

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