Skip to content

Instantly share code, notes, and snippets.

@termitkin
Last active September 16, 2019 13:06
Show Gist options
  • Save termitkin/e20f65347a72e8f199f379ec46c5b46e to your computer and use it in GitHub Desktop.
Save termitkin/e20f65347a72e8f199f379ec46c5b46e to your computer and use it in GitHub Desktop.
[WordPress] Move comment field to bottom of add comments form
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