BuddyPress: hook to add new profile fields and groups
Well seems like not many people are digging into BP so here is the solution I found. To add a new field group using BP hooks: // Create new Field Group $group_args = array( ‘name’ => ‘Social Networks’ ); $group_id = xprofile_insert_field_group( $group_args ); // group’s ID To add some fields to this new group: … Read more