Support » Fixing WordPress » Adding words to blacklist within core files

  • sosnow


    I very well know that there is a facility to add blacklisted words in WP setting screen but is it possible to declare the words to blacklist inside functions.php or comments.php file itself?

    The reason is, my theme is heavily modified & its not blocking comments that contain blacklisted words (declared in settings screen)

    I heard that its possible to implement this feature by using add_filter(comments_array) or something like that.

    Does anyone know about this implementation?

  • The topic ‘Adding words to blacklist within core files’ is closed to new replies.