Filters the comment form default arguments.
Use ‘comment_form_default_fields’ to filter the comment fields.
$defaultsarray
$args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_form_defaults