bp_xprofile_fullname_field_name()
Return the field name for the Full Name xprofile field.
Description
Return
(string) The field name.
Source
File: bp-xprofile/bp-xprofile-functions.php
function bp_xprofile_fullname_field_name() { $field_name = BP_XPROFILE_FULLNAME_FIELD_NAME; /** * Get the nickname field if is set * * @since BuddyBoss 1.0.0 */ if ( $nickname_field_id = bp_xprofile_nickname_field_id( true) ) { $field_name = xprofile_get_field( $nickname_field_id )->name; } /** * Filters the field name for the Full Name xprofile field. * * @since BuddyPress 1.5.0 * * @param string $value BP_XPROFILE_FULLNAME_FIELD_NAME Full name field constant. */ return apply_filters( 'bp_xprofile_fullname_field_name', $field_name ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.5.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.