Skip to content

Commit

Permalink
Update add_hook.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Touxten authored Nov 25, 2024
1 parent b0dfb10 commit 5a2a7eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contribute/contribute-pull-requests/add_hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 5a2a7eb

Please sign in to comment.