| 221 | $others = wp_list_filter( get_taxonomies( array( 'show_admin_filter' => true ), 'objects' ), array( 'name' => 'category' ), 'NOT' ); |
| 222 | foreach ( $others as $other ) { |
| 223 | if ( is_object_in_taxonomy( $this->screen->post_type, $other->name ) ) { |
| 224 | $dropdown_options = array( |
| 225 | 'taxonomy' => $other->name, |
| 226 | 'show_option_all' => __( 'View all ' ) . $other->labels->name, |
| 227 | 'hide_empty' => 0, |
| 228 | 'hierarchical' => $other->hierarchical, |
| 229 | 'show_count' => 0, |
| 230 | 'orderby' => 'name', |
| 231 | 'name' => $other->query_var, |
| 232 | 'selected' => get_query_var( $other->query_var ) |
| 233 | ); |
| 234 | wp_dropdown_categories( $dropdown_options ); |
| 235 | } |
| 236 | } |
| 237 | |