I actually figured it out within minutes of posting for help, however thank you as always. In case any one needs this in the future, here is the code:
// Check whether or not the current user specified roles
function check_user_role($roles, $user_id = NULL) {
if ($user_id) $user = get_userdata($user_id);
else $user = wp_get_current_user();
if (empty($user)) return false;
foreach ($user->roles as $role) {
if (in_array($role, $roles)) {
return true;
}
}
return false;
}
function custom_registration_redirect() {
if (check_user_role(array(‘customer’))) { //change “customer” to your respective roles
return site_url(‘/’); //change “/” and append to your site’s homepage URL if need to redirect to a different page within your site
}
}
add_action(‘woocommerce_registration_redirect’, ‘custom_registration_redirect’, 2);