array $comment_fields )
Filters the comment form fields, including the textarea.
The comment fields.
View all references
$comment_fields = apply_filters( 'comment_form_fields', $comment_fields );
These are the default comment form fields, as seen here https://developer.wordpress.org/reference/functions/comment_form/
Move the comment text field to the bottom.
To override the comment form fields to supply your own with modifications, without a plugin, here is an example that would go in your
This will render the complete form for users not logged in, and render only the comment field for those logged in. For the form to function properly, default IDs, Classes, For, and Names should be included. You may add additional classes, replace the
pelement with a
div, and/or move the
labelto be after the
textareafor CSS reasons (e.g. Material design).