# clanbite_forums_user_can_upload_image

Whether the user may upload images for forum posts.

Default: `upload_files` capability. Use the filter to allow other roles.

```php
apply_filters( 'clanbite_forums_user_can_upload_image', bool $can, int $user_id )
```

## Parameters

- `$can` (bool) Whether upload is allowed.
- `$user_id` (int) User ID.
