bp_form_field_attributes( string $name = '', array $attributes = array() )

Output the attributes for a form field.


Description Description


Parameters Parameters

$name

(Optional) The field name to output attributes for.

Default value: ''

$attributes

(Optional) Array of existing attributes to add.

Default value: array()


Top ↑

Source Source

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

function bp_form_field_attributes( $name = '', $attributes = array() ) {
	echo bp_get_form_field_attributes( $name, $attributes );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.