function start_el(&$output, $category, $depth = 0, $args = array(), $id = 0)
{
extract($args);
if (empty($taxonomy)) {
$taxonomy = 'category';
}
if (!is_null($this->checkbox_name)) {
$name = $this->checkbox_name;
} elseif ($taxonomy == 'category') {
$name = 'post_category';
} else {
$name = 'tax_input[' . $taxonomy . ']';
}
$unit = array();
if (strlen($this->prefix) > 0) {
$unit[] = $this->prefix;
}
$unit[] = $taxonomy;
$unit[] = $category->term_id;
$unitId = implode("-", $unit);
$class = in_array($category->term_id, $popular_cats) ? ' class="popular-category category-checkbox"' : ' class="category-checkbox"';
$output .= "\n<li id='{$unitId}'{$class}>" . '<label class="selectit"><input value="' . $category->term_id . '" type="checkbox" name="' . $name . '[]" id="in-' . $unitId . '"' . checked(in_array($category->term_id, $selected_cats), true, false) . disabled(empty($args['disabled']), false, false) . ' /> ' . esc_html(apply_filters('the_category', $category->name)) . '</label>';
}