apply_filters( 'comment_form_attrs', array )
Filters additional comment form attributes.
Description
The following attributes are allowed: accept-charset
, autocapitalize
, autocomplete
, enctype
, novalidate
Pass attribute names as a string array key.
Pass attribute values as a string array value, or boolean true
in the case of attributes that require no value, for example novalidate
.
Parameters
-
An associative array containing the additional attributes for the form.
Source
Changelog
Version | Description |
---|---|
CP-2.1.0 | Introduced. CP-2.1.0 |