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

what is the action hook, if a user activates his profile? For the profile update, it is:


for example. My goal is, to execute a function, if a user activates his profile. Something like this:

add_action( 'user_activate','my_function');
share|improve this question
have you already taken a look at the core files? A simple cross-file search for do_action( will surely help ,) – kaiser Apr 26 '11 at 20:18
if its not multisite there is no activation by default unless you are using some kind of plugin. what plugins are you using – Bainternet Apr 26 '11 at 20:37
@bainternet Currently I dot use any Plugins. Only Reguster Plus Redux. – 3cees Apr 26 '11 at 21:08
up vote 0 down vote accepted

Well there you go Register Plus Redux is the plugin which is adding your new user verification, and by looking at its code there are no filters or hooks which is said because if you make changes to it they will be lost the next time you update, so i would suggest to contact the plugin developer and ask him to add it.

But a quick fix for you would be to add


after line 2938 at register-plus-redux.php

and you can then call it like this:

add_action( '3cees_user_activate','your_function');

and your function will run when a user is activated and $user_id will be passed to it.

share|improve this answer
What shall I say? A great answer. Many Thanks to you. – 3cees Apr 26 '11 at 22:09
..hmmmm...the files only has 2627 lines of code. Did you look in the latest version? – 3cees Apr 26 '11 at 22:23
Yep my bad, i was looking at the development version, in the perestroika stable version add the line of code at line 2462 – Bainternet Apr 26 '11 at 23:04
Perfect. Many, many Thanks again. – 3cees Apr 26 '11 at 23:22

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.