Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.
You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page
Hook | actionShopDataDuplication |
---|---|
Locations | FO |
Type | action |
Origin | core |
Aliases |
Origin | File |
---|---|
core | classes/shop/Shop.php |
<?php
array(
'old_id_shop' => (int) Old shop ID,
'new_id_shop' => (int) New shop ID
);
Hook::exec('actionShopDataDuplication', [
'old_id_shop' => (int) $old_id,
'new_id_shop' => (int) $this->id,
], $m['id_module'])