onCommentDownvoted( )


A backend event that fires when a forum comment is downvoted.

The onCommentDownvoted() event handler runs when an existing forum comment in your site is downvoted. The received DownvotedComment object contains information about the comment that was downvoted.

Notes:

  • Only comments on posts with a postType of "QUESTION" can be voted on.

  • Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventDownvotedCommentRequired

Information about the forum comment that was downvoted.

Did this help?