Is there a hook for user activation (after they click the email confirm)? I am creating a plugin to automatically add them to my email software, but I want them to have to confirm their email first.

  • 1
    Have you searched here before asking?
    – Raphael
    Jan 19, 2012 at 11:32

2 Answers 2


wpmu_welcome_user_notification is a filter, but you can execute your action there, too.

Take care not to turn off notification mails accidentally; see the source.

  • Will this wpmu_ filter work on a regular site or is it just for multisites?
    – Jay West
    Jan 19, 2012 at 23:05
  • Codex doesn't say explicitly. I think I read somewhere that the multisite business has been merged into the standard version, so just have a try. Note, though, that wpmu probably stands for "Wordpress Multi User", not multi site.
    – Raphael
    Jan 20, 2012 at 7:18

You want wpmu_activate_user, at least if you're on multi-site.

my_function($user_id, $password, $meta)   {
    // do stuff
  • +1, but beware that this action will only fire for a "user" in even multi-site setup. If the user has requested a blog, it'll not fire on user activation.
    – Ejaz
    Nov 10, 2015 at 20:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.