# clanbite_social_kit_user_can_delete_post

Filters whether a user may delete a social post.

```php
apply_filters( 'clanbite_social_kit_user_can_delete_post', bool $can, object $row, int $user_id )
```

## Parameters

- `$can` (bool) Whether the author, a team or group manager, or a site administrator.
- `$row` (object) Social post row.
- `$user_id` (int) User ID.

## Changelog

| Version | Description |
| --- | --- |
| 1.4.1 | Introduced |
