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 actionFrontControllerInitBefore

Informations

Perform actions before front office controller initialization This hook is launched before the initialization of all front office controllers
Hook actionFrontControllerInitBefore
Locations
FO
Type action
Origin core
Aliases

Located in

Origin File
core classes/controller/FrontController.php

Call of the Hook in the origin file

Hook::exec(
            'actionFrontControllerInitBefore',
            [
                'controller' => $this,
            ]
        )