Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if($show_option_all_included)
- {
- $show_option_all = apply_filters( 'list_cats', $show_option_all_included );
- $selected = ( '0' === strval($r['selected']) ) ? " selected='selected'" : '';
- $vals = '';
- foreach($categories as $cat)
- $vals .= $cat->term_id.',';
- $vals = substr($vals, 0, -1);
- $output .= "\t<option value='$vals'$selected>$show_option_all</option>\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement