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 actionNewsletterRegistrationBefore

Informations

Hook actionNewsletterRegistrationBefore
Locations
FO
Type action
Origin module
Aliases

Located in

Origin File
core ps_emailsubscription.php

Call of the Hook in the origin file

Hook::exec(
            'actionNewsletterRegistrationBefore',
            [
                'hookName' => $hookName,
                'email' => $_POST['email'],
                'action' => $_POST['action'],
                'hookError' => &$hookError,
            ]
        )