• I’ve been searching for hours and I’m not able to find out what is the hook that is triggered right after user activates his account…

    I found user_register bit it’s used when user registers and not when he activates his account.

    I also found lots of stuff about plugin activation, but not user…

    Could you please help me ?
    I’m sure it must exists.
    Thanks

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You had trouble because there really isn’t an activation process. When the user registers, they are added as a normal, default user, they just don’t know their password. The link set by email after registration is really just a password reset link. So the closest thing to what you’re asking would be “after_password_reset”, but it would fire when anyone resets their password, not just new users.

    I suppose you could do a two part process. Setup something when the user registers through the hook you already found, then when a matching user fires the after_password_reset action, complete whatever your process requires.

Viewing 1 replies (of 1 total)
  • The topic ‘user activation hook’ is closed to new replies.