Skip to main content
Skip table of contents

Moderation request

The Controller class includes a convenience method to submit a snippet of text to the Customizer Moderation Service. The level of moderation (Basic or Advanced) depends on the currently contracted Customizer addons.

A text string can be submitted using reviewText method:

CODE
const result = await controller.reviewText('text');

The controller will automatically configure the moderation request using the current site and locale.

The moderation result shall be an objected containing the review status.

Attribute

Description

hasProfanity true/false

Indicates whether the text contains profanities.

reviewRecommended true/false

Indicates whether the text may contain sensitive topics and shall be reviewed by the site operators

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.