bp_xprofile_nickname_field_id( $no_fallback = false,  $get_option = true )

Get the field id of the nick name field, fallback to default fullname field

Description

Source

File: bp-xprofile/bp-xprofile-functions.php

function bp_xprofile_nickname_field_id( $no_fallback = false ) {
	$field_id = apply_filters(
		'bp_xprofile_nickname_field_id',
		bp_get_option( 'bp-xprofile-nickname-field-id', $no_fallback? null : bp_xprofile_fullname_field_id() )
	);
	return absint( $field_id );
}

Changelog

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