Jump to content

Get customers email in hookActionCustomerAccountAdd


Recommended Posts

I'm trying to get the customers email to use as an argument in my function after their successful registration.

 

public function hookActionCustomerAccountAdd($params)
 {
  return $this->myFunction($customerEmail);
 }
 
I can add the function into the actionCustomerAccountAdd hook but how do I get the customer's email in as an argument?
 
Tried looking for it through the documentations and forums but couldn't find an answer. Any help is greatly appreciated!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...