rest_insert_comment – action

Fires after a comment is created or updated via the REST API. 

Parameters

.
( 4.7.0 ) . .
( WP_Comment ) $comment Inserted or updated comment object. . . .
$request
( WP_REST_Request ) Request object. . . .
( bool ) $creating True when creating a comment, false when updating. . . .
API Letters: ,,

Implementers