This function will replace offensive words with the defined replacement word. The list of offensive words and the replacement word are both defined in the Miscellaneous Settings page in the Administration panel.
Quote
censorwords ( $text )
<?php
// In this example we have added the word apple, orange and banana as offencive words and set replacement as ****.
$text = "The apple, orange and banana are all fruits.";
censorwords($text);
echo $text;
?>
Quote
The ****, **** and **** are all fruits.