BP_XProfile_Field::get_field_data( int $user_id )
Get field data for a user ID.
Description Description
Parameters Parameters
- $user_id
-
(Required) ID of the user to get field data for.
Return Return
Source Source
File: bp-xprofile/classes/class-bp-xprofile-field.php
public function get_field_data( $user_id = 0 ) {
return new BP_XProfile_ProfileData( $this->id, $user_id );
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |