comment_presave_frontend

Triggered immediately before saving a comment added in frontend.

Blog

Input (passed by reference)

$params array Comment data array.
… your plugin code …

Output

Blog

Plugin code example

PHP

public function commentPresaveFrontend($params)
{
    waLog::log(print_r($params, true), 'blog/myplugin/comment-presave-frontend.log');
}