Clanbite Social Kit clanbite-social-kit/v1
POST /wp-json/clanbite-social-kit/v1/comments/(?P<id>\d+)/reactionsPOST
Toggle a reaction on a comment.
Access is checked by require_login().
| Argument | Type | Default | Description |
|---|---|---|---|
id required | integer |
Handled by toggle_comment_reaction()
Example
curl -X POST 'https://example.com/wp-json/clanbite-social-kit/v1/comments/(?P<id>\d+)/reactions'Defined in inc/Rest/Rest_Controller.php