bp_field_css_class( mixed $class = false )

Output the class attribute for a field.

Description

Parameters

$class

(Optional) Extra classes to append to class attribute. Pass mutiple class names as an array or space-delimited string.

Default value: false

Source

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

function bp_field_css_class( $class = false ) {
	echo bp_get_field_css_class( $class );
}

Changelog

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