# clanbite.socialKit.composerPostBody

Filters the JSON body the Social composer sends to `POST /clanbite-social-kit/v1/posts`.

Add fields your `clanbite_social_kit_post_created` / `clanbite_social_kit_insert_post_data` handlers read.

```php
wp.hooks.applyFilters( 'clanbite.socialKit.composerPostBody', Object body, Object args )
```

## Parameters

- `$body` (Object) Request body (`content`, `visibility`, media, poll, and context fields).
- `$args` (Object) `{ feedContext, subjectId }`: the feed context slug and its subject ID.
