Changeset 4634 for trunk/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 07/09/2011 10:13:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r4452 r4634 984 984 $user_id = $bp->displayed_user->id; 985 985 986 $data = xprofile_get_field_data( BP_XPROFILE_FULLNAME_FIELD_NAME, $user_id ); 987 988 return $data[BP_XPROFILE_FULLNAME_FIELD_NAME]; 986 $field_name = bp_xprofile_fullname_field_name(); 987 988 $data = xprofile_get_field_data( $field_name, $user_id ); 989 990 return $data[$field_name]; 989 991 } 990 992 }
Note: See TracChangeset
for help on using the changeset viewer.