Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Profile Fields – Hide on edit profile


Burt Adsit
Participant

@burtadsit

You’ll have to modify the member theme functions that display the fields in the profile. That gets generated in: /buddypress-member/profile/profile-loop.php

by the function: bp_the_profile_field_value() in /mu-plugins/bp-xprofile/bp-xprofile-templatetags.php

There’s a filter in there that you can hook: echo apply_filters( ‘bp_the_profile_field_value’, $field->data->value, $field->type, $field->id );

So that you can detect these specific fields and change what gets generated by bp.

Skip to toolbar