onPostCreated( )


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

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

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

Method Declaration
Copy
Method Parameters
eventCreatedPostRequired

Information about the forum post 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?