do_action( 'hivepress/v1/models/comment/{action_type}', $comment_id, $comment_type )
Fires when a comment is created, updated or deleted. The dynamic part of the hook refers to the action type (create, update or delete).
Parameters:
| Name | Type | Description | 
|---|---|---|
| $comment_id | int | Comment ID. | 
| $comment_type | string | Comment type. | 
- Source: