Skip to content

Commit

Permalink
Merge pull request #1852 from kpodemski/hooks/actionAfterLoadRoutes9x
Browse files Browse the repository at this point in the history
Add Hook actionAfterLoadRoutes
  • Loading branch information
jolelievre authored Aug 20, 2024
2 parents a95eabf + 8f83aad commit 88794cb
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 88794cb

Please sign in to comment.