bp_form_field_attributes( string $name = '', array $attributes = array() )
Output the attributes for a form field.
Description
Parameters
- $name
-
(Optional) The field name to output attributes for.
Default value: ''
- $attributes
-
(Optional) Array of existing attributes to add.
Default value: array()
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
Version | Description |
---|---|
BuddyPress 2.2.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.