diff --git a/contribute/contribute-pull-requests/add_hook.md b/contribute/contribute-pull-requests/add_hook.md index 4bc7472954..4d4b41d1d6 100644 --- a/contribute/contribute-pull-requests/add_hook.md +++ b/contribute/contribute-pull-requests/add_hook.md @@ -19,4 +19,5 @@ The second step is correctly adding the `Hook` during installation. You need to The last step is to make this new hook available for users upgrading from older versions of PrestaShop. You need to add it to the current version of the SQL script of the Autoupgrade module, as can be seen in this [PR](https://github.com/PrestaShop/autoupgrade/pull/672/files). If you are unsure which file to put the code inside the [autoupgrade module](https://github.com/PrestaShop/autoupgrade). + You can also use a [helper](https://github.com/PrestaShop/autoupgrade/pull/577/files) available to add a new hook during the upgrade process for a given version.