frontend_review_add.before
Triggered before a new product reviews is added. Allows modifying review-related data before saving.
Shop-Script
Input (passed by reference)
$params array Array of parameters.
$params['data'] array New review's and its author's data. Available by reference.
$params['product'] array Product data.
$params['data'] array New review's and its author's data. Available by reference.
$params['product'] array Product data.
… your plugin code …
Output
Shop-Script
Plugin code example
PHP
public function frontendReviewAddBefore($params) { shopMyPluginHelper::verifyReview($params); }