When I register a new user to my blog, I always receive an email. The code in simple terms should look like this.
on_new_user_registration(){
//send email to admin
//I want to do something else.
}
I would like to do more than receiving an email. Can someone point me to the right code.
I have tried using the wp_insert_user() function in wordpress but that creates the user inside the editor.
thanks a lot.