bp_get_field_css_class

  • apply_filters( 'bp_get_field_css_class', ' class="' . implode( ' ', $css_classes ) . '"' )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-template.php :: Trac Source Line: 215
      		// Set a class with the field name (sanitized)
      		$css_classes[] = 'field_' . sanitize_title( $profile_template->field->name );
      
      		if ( $profile_template->current_field % 2 == 1 )
      			$css_classes[] = 'alt';
      
      		$css_classes = apply_filters_ref_array( 'bp_field_css_classes', array( &$css_classes ) );
      
      		return apply_filters( 'bp_get_field_css_class', ' class="' . implode( ' ', $css_classes ) . '"' );
      	}
      
      function bp_field_has_data() {
      	global $profile_template;
      	return $profile_template->field_has_data;
      }
      
      function bp_field_has_public_data() {
      	global $profile_template;
      

Comments are closed.