public
Created

  • Download Gist
gistfile1.php
PHP
1 2 3
<?php
 
$output .= "\n<option id='{$taxonomy}-{$term->term_id}'$class value='". esc_attr( $term->name ) . "'" . selected( in_array( $term->term_id, $selected_cats ), true, false ) . disabled( empty( $args['disabled'] ), false, false ) . ' /> ' . $indent . esc_html( apply_filters('the_category', $term->name )) . '</option>';

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.