BP_Core_User::get_profile_data()

Fetch xprofile data for the current user.

Description

See also

Return

(array) See BP_XProfile_Profile_Data::get_all_for_user().

Source

File: bp-core/classes/class-bp-core-user.php

	public function get_profile_data() {
		return BP_XProfile_ProfileData::get_all_for_user( $this->id );
	}

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.