WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Have you searched here before asking? – Raphael Jan 19 '12 at 11:32

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.

share|improve this answer
Will this wpmu_ filter work on a regular site or is it just for multisites? – Jay West Jan 19 '12 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 '12 at 7:18

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

my_function($user_id, $password, $meta)   {
    // do stuff
share|improve this answer
+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 '15 at 20:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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