| Hook | actionSubmitAccountBefore |
|---|---|
| Locations | FO |
| Type | action |
| Origin | core |
| Aliases | [actionBeforeSubmitAccount] |
| Description | This hook is called before a customer account creation |
This hook has an $array_return parameter set to true (module output will be set by name in an array, see explaination here).
| Origin | File |
|---|---|
| core | classes/checkout/CheckoutPersonalInformationStep.php |
| core | controllers/front/RegistrationController.php |
$hookResult = array_reduce(
Hook::exec('actionSubmitAccountBefore', [], null, true),
function ($carry, $item) {
return $carry && $item;
},
true
);