login-redirect
[insert_php]
$current_user = wp_get_current_user();
if (is_user_logged_in()){
if(!bp_get_profile_field_data( ‘field=Location&field=Age&field=First Name&field=Sexual Identity&field=Sexual Orientation&field=Gender Identity&field=Preferred Pronoun&field=Last Name&user_id=’ . $current_user->ID)){
$login_url = “https://christiangays.com/members/”.$current_user->user_login.”/profile/edit/group/1/”;
wp_redirect($login_url);
exit();
}else{
wp_redirect(“https://christiangays.com/forums/forum/social-group/”);
exit();
}
}
[/insert_php]