BP_REST_XProfile_Data_Endpoint::get_xprofile_field_data_object( int $field_id, int $user_id )

Get XProfile field data object.

Description

Parameters

$field_id

(Required) Field id.

$user_id

(Required) User id.

Return

(BP_XProfile_ProfileData)

Source

File: bp-xprofile/classes/class-bp-rest-xprofile-data-endpoint.php

	public function get_xprofile_field_data_object( $field_id, $user_id ) {
		return new BP_XProfile_ProfileData( $field_id, $user_id );
	}

Changelog

Changelog
Version Description
0.1.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.