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
1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 | 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.