Warning: You are browsing the documentation for PrestaShop 8, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

Hook actionNewsletterRegistrationAfter

Informations

Hook actionNewsletterRegistrationAfter
Locations
FO
Type action
Origin module
Aliases
Description

Located in

Origin File
ps_emailsubscription ps_emailsubscription.php

Call of the Hook in the origin file

Hook::exec(
    'actionNewsletterRegistrationAfter',
    [
        'hookName' => $hookName,
        'email' => $_POST['email'],
        'action' => $_POST['action'],
        'error' => &$this->error,
    ]
)