This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when published content is created.
function onPublishedContentCreated(handler: function): void;
handler(event: PublishedContentCreatedEnvelope): void | Promise<void>
import { translationPublishedContents } from "@wix/multilingual";
translationPublishedContents.onPublishedContentCreated((event) => {
// handle your event here
});