function ($data) { return get_comment_meta($data['id'], 'reply_id', true); }, 'update_callback' => function ($value, $data) { if (isset($value['reply_id'])) { $hasmeta = get_comment_meta($data->comment_ID, 'reply_id', false); if ($hasmeta) { update_comment_meta($data->comment_ID, 'reply_id', $value['reply_id']); } else { add_comment_meta($data->comment_ID, 'reply_id', $value['reply_id'], true); } } return true; },));