<?php
if (!defined('ABSPATH')) exit;

$iwbvel_select_classes = 'iwbvel-select2-taxonomies iwbvel-select2-item';
if (isset($iwbvel_item['select2']) && $iwbvel_item['select2']) {
    $iwbvel_select_classes .= ' iwbvel-select2';
}
?>
<select <?php echo (isset($iwbvel_item['disabled']) && $iwbvel_item['disabled']) ? 'disabled="disabled"' : ''; ?> id="<?php echo esc_attr($iwbvel_field_id); ?>"
    data-output="<?php echo isset($iwbvel_item['output_type']) ? esc_attr($iwbvel_item['output_type']) : 'term_id'; ?>"
    data-field="value"
    <?php echo isset($iwbvel_item['multiple']) && $iwbvel_item['multiple'] ? 'multiple="multiple"' : ''; ?>
    class="<?php echo esc_attr($iwbvel_select_classes); ?>">
</select>