frontend_review_add.after

Triggered upon adding of a new product review.

Shop-Script

Input (passed by reference)

$params array Array of parameters.
$params['id'] int ID of new review.
$params['data'] array New review's and its author's data.
$params['product'] array Product data.
… your plugin code …

Output

Shop-Script

Plugin code example

PHP

public function frontendReviewAddAfter($params)
{
    //dump values to a log file to see what's in the params
    waLog::dump($params);
}