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()
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 ); }
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |