Skip to content

Instantly share code, notes, and snippets.

@jkudish
Created September 7, 2012 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkudish/3663010 to your computer and use it in GitHub Desktop.
Save jkudish/3663010 to your computer and use it in GitHub Desktop.
<?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>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment