| 108 | | <?php wp_dropdown_categories(array('hide_empty' => 0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude_tree' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?> |
| | 108 | <?php |
| | 109 | $dropdown_args = array( |
| | 110 | 'hide_empty' => 0, |
| | 111 | 'hide_if_empty' => false, |
| | 112 | 'name' => 'parent', |
| | 113 | 'orderby' => 'name', |
| | 114 | 'taxonomy' => $taxonomy, |
| | 115 | 'selected' => $tag->parent, |
| | 116 | 'exclude_tree' => $tag->term_id, |
| | 117 | 'hierarchical' => true, |
| | 118 | 'show_option_none' => __('None') |
| | 119 | ); |
| | 120 | |
| | 121 | /** This filter is documented in wp-admin/edit-tags.php */ |
| | 122 | $dropdown_args = apply_filters( 'taxonomy_parent_dropdown_args', $dropdown_args, $taxonomy ); |
| | 123 | wp_dropdown_categories( $dropdown_args ); ?> |