This line is directly copied from the funciotn above - ```public function generate_field($profile_row, $preview_options = false)```

Line 185.