Skip to content

Commit

Permalink
Merge pull request #1851 from kpodemski/hooks/actionAfterLoadRoutes
Browse files Browse the repository at this point in the history
Add Hook actionAfterLoadRoutes
  • Loading branch information
jolelievre authored Aug 20, 2024
2 parents c105b1d + 4884ade commit 5f071f5
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions modules/concepts/hooks/list-of-hooks/actionAfterLoadRoutes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
Title: actionAfterLoadRoutes
hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.1.x/classes/Dispatcher.php#L708'
file: classes/Dispatcher.php
locations:
- 'front office'
- 'back office'
type: action
hookAliases:
array_return: false
check_exceptions: false
chain: false
origin: core
description: ''

---

{{% hookDescriptor %}}

## Call of the Hook in the origin file

This hook was added in {{< minver v="8.1.2" >}}.

```php
Hook::exec('actionAfterLoadRoutes', ['dispatcher' => $this, 'id_shop' => $id_shop]);
```

Parameter `$id_shop` has been added in version {{< minver v="8.1.5" >}}.

0 comments on commit 5f071f5

Please sign in to comment.