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

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

3 Answers 3

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 at 20:52

try this one

share|improve this answer
register_activation_hook() refers to plugin activation, not user activation. – scribu Jan 19 '12 at 11:26
"The register_activation_hook function registers a plugin function to be run when the plugin is activated." – Raphael Jan 19 '12 at 11:34

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.