onCommentMarkedAsBest( )


A backend event that fires when a forum comment is marked as best.

The onCommentMarkedAsBest() event handler runs when an existing forum comment in your site is marked as best. The received MarkedAsBestComment object contains information about the comment that was marked as best.

Notes:

  • Only comments on posts with a postType of "QUESTION" can be marked as best.

  • Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventMarkedAsBestCommentRequired

Information about the forum comment that was marked as best.

Was this helpful?
Yes
No