WordPress.org

Ready to get started?Download WordPress

Forums

How to get comment content before it is submitted (1 post)

  1. TheShinichi
    Member
    Posted 3 years ago #

    Hello,

    I want to made a little change for WordPress comment function. That will help me prevent spammers. My idea is:

    When comment form is submitted, my function will get the comment content (email, website, content,..) if one of them or all of them are contained some words that in blacklist, the comment will be reject immediately.

    Please tell me know the function help me get comment content and where can I put to action.

    Thanks so much !

Topic Closed

This topic has been closed to new replies.

About this Topic