Unregistered taxonomy apears still as emtpy filter list

empty list

I unregistered a custom taxonomy form the theme I’m using:

function wpse314876_unregister_taxonomy() {
    unregister_taxonomy_for_object_type( 'page_category', 'page' );
}
add_action( 'init', 'wpse314876_unregister_taxonomy' );

But in the all pages overview (/wp-admin/edit.php?post_type=page) it shows still an empty drop-down filter list. I can remove all category drop-down but that’s not what I want as I already added a custom drop-down taxonomy filter-list.

The drop-down appears as a little empty list and its HTML looks like that:

<select name="page_category" id="page_category" class="postform">
</select>

How can I remove just what empty drop-down list?

Read more here:: Unregistered taxonomy apears still as emtpy filter list

Leave a Reply

Your email address will not be published. Required fields are marked *