WordPress.org

Forums

Censor Block for WordPress? (3 posts)

  1. iFroggy
    Member
    Posted 7 years ago #

    Hello,

    I am looking for a plugin that will stop a comment from being entered if it includes a term and will tell the commenter that the comment cannot be posted because it contains X (whatever was blocked). I do not want to mark the comment as spam or to put it into moderation and I do not want the term to be changed to something else. I want them to know what the issue is so they can adjust their comment and try again.

    Ideally, it would function exactly like the Censor Block hack for phpBB, but I could get away with functionality similar to the CommentCensor plugin for Nucleus CMS. Does anyone know if such a hack exists?

    I appreciate any replies. Thanks! :)

    Patrick

  2. charle97
    Member
    Posted 7 years ago #

    you can convert the wp_blacklist_check function into your own plugin. use wp_die to output your desired error.

  3. iFroggy
    Member
    Posted 7 years ago #

    Thanks for the reply. I don't think I'd have the know how to do that, unfortunately. :(

Topic Closed

This topic has been closed to new replies.

About this Topic