comment_presave_backend

Triggered immediately before saving a comment added in backend.

Blog

Input (passed by reference)

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

Output

Blog

Plugin code example

PHP

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