censorText

Replace all vulgar words with respective proper words. (substring or whole words. .) What this function does: - it censors the passed string. - if the theme setting allow_no_censored is on, and the theme option show_no_censored is enabled, does not censor, unless force is also set. - it caches the list of censored words to reduce parsing.
Parameters Summary
string & $text
bool $force = false