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.

An event that occurs when a blog post is created
JavaScript
Errors

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

Did this help?