WordPress.org

Ready to get started?Download WordPress

Forums

Adding words to blacklist within core files (1 post)

  1. sosnow
    Member
    Posted 1 year ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic