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.

Did this help?