Skip to main content
Review Censoring

If you have words that you're not able to display on your site, you are able to censor these

Kai Jensen avatar
Written by Kai Jensen
Updated this week

If you have words that you're not able to display on your site, you are able to censor them to prevent them from showing on your widgets!


Requirements

βœ… Active REVIEWS.io Account


Instructions βš™οΈ

Within the Product Review Widget code, you will need to add the following line to the product_review block of the code:

wordFilter: "[Any words that need censoring entered here - seperated by a Coma: Word1,Word2,Word3]"

Note: This feature only censors individual words and not phrases!

Within this example, we are censoring the word "censored" by default the review will display all content visible πŸ‘‡

If we update the code to include the wordFilter setting:

product_review: {
// Display product reviews for multiple SKUs separated by semicolons
sku: "",
hide_if_no_results: false,
wordFilter: "censored",
}

This will prevent the specified word from displaying on the site πŸŽ‰

Did this answer your question?