Hello
Sorry for the super late replay. Had to plug in some extra code for the user and integrate it with ultimate member’s code.
um_fetch_user( $user_id );
//See if the user has an AD photo
$user = get_userdata($user_id);
if( $user->adt_user_photo_url != “”) {
$avatar = ‘<img src=”‘ . $user->adt_user_photo_url . ‘” class=”gravatar avatar avatar-‘.$size.’ um-avatar” width=”‘.$size.'” height=”‘.$size.'” alt=”” />’;
} else {
$avatar = um_user(‘profile_photo’, $size);
}
Thanks and sorry i missed the email notifying me that you had responded.