juandahveed
9/28/2017 - 1:15 PM

change the order of the comments form fields

change the order of the comments form fields

// let's change the order the comment fields display
function move_comment_field( $fields ) {
    $comment_field = $fields['comment'];
    unset( $fields['comment'] );
    $fields['comment'] = $comment_field;
    return $fields;
}

add_filter( 'comment_form_fields', 'move_comment_field' );