# Social_Media_Upload::user_owns_social_attachment()

Whether this attachment was uploaded for Social Kit and belongs to the user.

```php
user_owns_social_attachment( int $user_id, int $attachment_id ): bool
```

## Parameters

- `$user_id` (int) Current user.
- `$attachment_id` (int) Attachment ID.
