Core Function
View Source on Trac ↗ comments_block_form_defaults()
comments_block_form_defaults( mixed $fields ) Use the button block classes for the form-submit button.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $fields array | The default comment form arguments. Required |
Return Value
(array)
Returns the modified fields.
Function Information
Since Version
6.1.0
Source File
wp-includes/blocks/comments.php
Advertisement