How to add extra field in group xprofile for google map api ( location ) ?
-
Hello, I would like to add a extra field on group sign-up called location. Iv’e edited the bp-default template in a child theme to display the form field but i’m not sure where to define ‘location’ so it can be saved to the DB.
I have also edited bp group tag template to include:
function bp_new_group_location() {
echo bp_get_new_group_location();
}
function bp_get_new_group_location() {
global $bp;
return apply_filters( ‘bp_get_new_group_location’, $bp->groups->current_group->location );
}
What else must be added?Can you clarify for me?
- The topic ‘How to add extra field in group xprofile for google map api ( location ) ?’ is closed to new replies.