Site icon Hip-Hop Website Design and Development

Client register snare not woring in woocom register structure

Hi folks I can’t get to the client email regardless of whether I do a straightforward reverberation work. It doesn’t show anything toward the front, yet when I hit some blunder and on the mistake page I can see the reverberation. What can cause this, any thoughts?

function send_coupon_to_freshly_registered_user($user_id) { 

$user = get_user_by('id',$user_id);/new line 

$user_email = stripslashes($user->user_email);/changed line 

reverberation $user_email; 

} 

add_action('user_register', 'send_coupon_to_freshly_registered_user', 10, 1);