wordpress after user registration hook code example
Example: action hook in wordpress after user registration
add_action('user_register','my_function');
function my_function($user_id){
//do your stuff
}
add_action('user_register','my_function');
function my_function($user_id){
//do your stuff
}