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.
Information about the post that was created.