How to Send Admin Email Notifications to a Different Address?

By default, UsersWP sends admin email notifications to the WordPress admin email address. You can, however, use a code snippet to change this behavior. 

We recommend using the Code Snippets plugin. 

To send admin email notifications to an email address other than the default WP admin email address, simply use the following code snippet: 

add_filter('uwp_send_email_to', 'uwp_send_email_to_cb', 10, 4);
function uwp_send_email_to_cb($to, $email_name, $email_vars, $is_admin){
	if($is_admin){
		return 'myemail@mysite.com';
		} 
	return $to;<br>}

Be sure the change the email address in the snippet to that of the intended recipient's. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.