onPostCreated( )


An event that is triggered when a post is created.

The onPostCreated() event handler runs when a post is created. The PostCreated object contains information about the post that was created.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventPostCreated

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