Last active
September 16, 2019 13:06
-
-
Save termitkin/e20f65347a72e8f199f379ec46c5b46e to your computer and use it in GitHub Desktop.
[WordPress] Move comment field to bottom of add comments form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function move_comment_field_to_bottom($fields) { | |
$comment_field = $fields['comment']; | |
unset( $fields['comment'] ); | |
$fields['comment'] = $comment_field; | |
return $fields; | |
} | |
add_filter('comment_form_fields', 'move_comment_field_to_bottom'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment