/** * This censors inappropriate content * * This will replace 'bad words' with something more appropriate * * @param string $Message String to check * @see function COM_checkHTML * @return string Edited $Message */ function COM_checkWords($Message) { $filter = new sanitizer(); return $filter->censor($Message); }