onPublishedContentCreated( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Notes:

Triggered when published content is created.

Permissions
Wix Multilingual - Translation Content + Published Content Read
Learn more about app permissions.
Method Declaration
Copy
function onPublishedContentCreated(handler: function): void;
Method Parameters
handlerfunction

handler(event: PublishedContentCreatedEnvelope): void | Promise<void>

JavaScript
import { translationPublishedContents } from "@wix/multilingual"; translationPublishedContents.onPublishedContentCreated((event) => { // handle your event here });
Did this help?