• Resolved mudpunch

    (@mudpunch)


    I have a function in which I will use the new user’s infos to do stuff. I know that after a successful registration, user get redirected to wp-login.php with checkemail=registered as arguments…that’s good for me to know that the registration is done.

    However, I don’t know how to get the information from that new user.
    How can my function be called right after a user completes a registration?

    I’d like to avoid having to send a query to the database asking for the last inserted user in order to avoid conflicts and such.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mudpunch

    (@mudpunch)

    It may have something to do with hooks…but I tried some with no success. I don’t know which one to use.

    Thread Starter mudpunch

    (@mudpunch)

    Feel free to move this topic to the right section, if possible.
    I should have posted that in “Plugins and Hacks” section.

    Thread Starter mudpunch

    (@mudpunch)

    user_register was the right hook all along. I just wasn’t able to see it right.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Retrieve new user right after registration’ is closed to new replies.