<?php foreach($filter->get() as $k => $checkbox): ?>
    <div class="asp_option asp_option_cff">
        <div class="asp_option_inner">
            <input type="checkbox" value="<?php echo esc_attr($checkbox->value); ?>"
                   id="aspf<?php echo $fieldset_id; ?>[<?php echo $field_name; ?>][<?php echo $k; ?>]"
                   aria-label="<?php echo esc_attr( $checkbox->label ); ?>"
                   <?php echo $checkbox->default ? 'data-origvalue="1"' : ''; ?>
                   <?php echo !empty($checkbox->select_all) ?
                       " data-targetclass='asp_cf_select_".esc_attr($field_name_nws)."' " :
                       " class='asp_cf_select_".esc_attr($field_name_nws)."' "; ?>
                   name="<?php echo !empty($checkbox->select_all) ? '' : "aspf[$field_name][$k]"; ?>"
                <?php echo $checkbox->selected ? ' checked="checked"' : ''; ?>>
            <label aria-hidden="true" for="aspf<?php echo $fieldset_id; ?>[<?php echo $field_name; ?>][<?php echo $k; ?>]">
                <?php echo asp_icl_t('Hidden label', 'Hidden label'); ?>
            </label>
        </div>
        <div class="asp_option_label"><?php echo esc_html($checkbox->label); ?></div>
    </div>
<?php endforeach; ?>