view_features

Triggered on generation of a product features array to be returned by {$wa->shop->features()} method.

Shop-Script

Input (passed by reference)

$features array Product features data.
… your plugin code …

Output

Shop-Script

Plugin code example

PHP

public function viewFeatures(&$params)
{
    shopMyPluginHelper::updateDisplayedFeatures($params);
}