currency_delete

Triggered on currency deletion in settings.

Shop-Script

Input (passed by reference)

$params array Parameters.
$params['code'] string Code of deleted currency.
$params['convert_to'] string Code of the currency to which must be converted product prices expressed in deleted currency.
… your plugin code …

Output

Shop-Script

Plugin code example

PHP

public function currencyDelete($params)
{
    waLog::dump($params, ''shop/plugins/' . $this->id . '/currency-delete.log');
}