I am making a custom comments module and i m urgently need to implement a specific comment`s checking before posting them. In details , smth like:
if($comment->comment_content!=’certain sentence’) return false; and to place that in some check_comment function. And then after checking if false was returned – output message dialog with warning.

Read more here: Wp check comments before posting trouble


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: