The most effective way to intercept or modify user data during registration is through the following hooks: Usage Note Runs before the user is saved.
Do you need help on the registration form, or are you looking to redirect users after they sign up?
This is the standard approach to identify a vs. an existing user being updated.
Inside presave , always call $user->isNew() to ensure your code only runs during initial registration rather than every time a profile is updated.
Use this for actions that require the new User ID, like sending a custom welcome email or creating related profile entries. Modifies the registration form .
© 2026. Jaypee Brothers Medical Publishers (P) Ltd. | All Rights Reserved.