# clanbite_delete_notifications_for_object()

Delete notifications related to an object.

Useful when deleting a team, post, etc.

```php
clanbite_delete_notifications_for_object( string $object_type, int $object_id ): int
```

## Parameters

- `$object_type` (string) Object type.
- `$object_id` (int) Object ID.

## Return

`int` Number deleted.
