BP_XProfile_Field::get_field_data( int $user_id )

Get field data for a user ID.

Description

Parameters

$user_id

(int) (Required) ID of the user to get field data for.

Return

(BP_XProfile_ProfileData)

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
BuddyPress 1.2.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.