# Moderation::insert_report()

```php
insert_report( int $reporter_id, string $target_type, int $target_id, string $reason )
```

## Parameters

- `$reporter_id` (int) WordPress user ID.
- `$target_type` (string) topic|reply.
- `$target_id` (int) Target row ID.
- `$reason` (string) Reporter explanation.

## Return

`int|\WP_Error` New report ID.
