comment_validate
Triggered on validating comment contents before saving it to database.
Blog
Input (passed by reference)
$data mixed
plugin mixed data
plugin mixed data
… your plugin code …
Output
$return['error']
Error message to be displayed under comment text field if validation carried out by plugin returns an error.
Blog