onCommentCreated( )


A backend event that fires when a new forum comment is created.

The onCommentCreated() event handler runs when a new forum comment is created in your site. The received CreatedComment object contains information about the new comment that was created.

Note: Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventCreatedCommentRequired

Information about the forum comment that was created.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?