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 !
- The topic ‘How to get comment content before it is submitted’ is closed to new replies.