bp_nouveau_base_account_has_xprofile()

Return a bool check to see whether the base re group has had extended profile fields added to it for the registration screen.

Description

Source

File: bp-templates/bp-nouveau/includes/xprofile/template-tags.php

function bp_nouveau_base_account_has_xprofile() {
	return (bool) bp_has_profile(
		array(
			'profile_group_id' => 1,
			'fetch_field_data' => false,
		)
	);
}

Changelog

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