Re: How can I hide certain xprofile custom fields groups in the registration page?
It becomes just string manipulation. Create a new function (my_funky_function) and do something like this:
function my_funky_function() {
echo str_replace( "username","", bp_get_the_profile_group_field_ids() );
}
Then replace the bp_the_profile_group_field_ids() call in edit.php (in your child theme of course) with my_funky_function().
I think that will work but it’s not tested.
Edit:
Oh, sorry, I’m sort of wrong. This is what I get in my edit.php form in the HTML:
<input type="hidden" name="field_ids" id="field_ids" value="1,3" />
Field_id 1 is the Username for me. You just need to filter that out so the str_replace call should be “1,” instead of “username”.