onPostClosed( )


A backend event that fires when a forum post is closed.

The onPostClosed() event handler runs when an existing forum post in your site is closed. When a forum post is closed, members can't comment on the post. The received ClosedPost object contains information about the post that was closed.

Notes:

  • By default, forum posts are open.

  • Backend events are not fired when previewing your site.

Method Declaration
Copy
Method Parameters
eventClosedPostRequired

Information about the forum post that was closed.

Errors

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

Did this help?