PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 6, 2024
Let's talk code, commerce and open source.

Hook actionCustomerAccountAdd

Informations

Successful customer account creation This hook is called when a new customer creates an account successfully
Hook actionCustomerAccountAdd
Locations
FO
Type action
Origin core
Aliases [createAccount]

Located in

Origin File
core classes/form/CustomerPersister.php

Parameters details

    <?php
    array(
      'newCustomer' => (object) Customer object
    );

Call of the Hook in the origin file

Hook::exec('actionCustomerAccountAdd', [
                'newCustomer' => $customer,
            ])