BP_XPROFILE_FULLNAME_FIELD_NAME

The BuddyPress BP XPROFILE FULLNAME FIELD NAME constant.

Value (string)

stripslashes( bp_core_get_root_option( 'bp-xprofile-fullname-field-name' ) ) 

Usage

  1. if ( defined( 'BP_XPROFILE_FULLNAME_FIELD_NAME' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'BP_XPROFILE_FULLNAME_FIELD_NAME' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

The constant is defined in the following location(s).

/bp-xprofile/classes/class-bp-xprofile-component.php  
  1. define( 'BP_XPROFILE_FULLNAME_FIELD_NAME', stripslashes( bp_core_get_root_option( 'bp-xprofile-fullname-field-name' ) ) );