onLogin( )


Registers a callback function to be called when a member logs in.

Use this function to run code after a member successfully logs in, such as updating the UI, loading member-specific data, or tracking login events.

Method Declaration
Copy
Method Parameters
handlerfunctionRequired

handler(): void Callback function to run when a member logs in.

Returns
Return Type:Unsubscribe
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?