# clanbite_social_kit_register_reactable()

Make an object type reactable (see `\Kernowdev\ClanbiteSocialKit\Social\Reactions` for the arguments).

Call on the `clanbite_social_kit_register_reactables` action. Once registered the object gets the shared toggle API
(`Reactions::toggle()`), the REST route `POST clanbite-social-kit/v1/reactions/{object_type}/{id}` and the shared filters
and action, so it needs no reactions code of its own.

```php
clanbite_social_kit_register_reactable( string $object_type, array $args ): bool
```

## Parameters

- `$object_type` (string) Lowercase slug, e.g. `forum_topic`.
- `$args` (array<string, mixed>) `label`, `toggle` (required), `exists`, `can_react`, `enabled`.

## Return

`bool` True when registered.

## Changelog

| Version | Description |
| --- | --- |
| 1.6.2 | Introduced |
