Title: Uninstallation
Last modified: March 1, 2018

---

# Uninstallation

 *  Resolved [croco2511](https://wordpress.org/support/users/croco2511/)
 * (@croco2511)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/uninstallation-3/)
 * I’ve been tasked with the removal of the plugin because the blog owner no longer
   has need for it.
 * Upon deactivating the plugin the Categories page (wp-admin/edit-tags.php?taxonomy
   =category&post_type=attachment) still exists.
 * How can it be removed?
 * Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [jeffrey-wp](https://wordpress.org/support/users/jeffrey-wp/)
 * (@jeffrey-wp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/uninstallation-3/#post-10035876)
 * Hi,
 * That’s because the taxonomy category is a default taxonomy of WordPress. If you
   go to the page wp-admin/edit-tags.php?taxonomy=category&post_type=croco2511 you
   also will see the category page. You can change the post_type to whatever you
   want (even maken one up) and always will see the default WordPress category page.
 *  Thread Starter [croco2511](https://wordpress.org/support/users/croco2511/)
 * (@croco2511)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/uninstallation-3/#post-10036005)
 * Thanks for your reply.
 * I should have been more specific. The page itself does not need to be removed
   but under the Media menu still shows the Categories link after deactivating the
   plugin.
 * Before Plugin activation: No Category submenu link for Media.
    After Plugin activation:
   Category submenu link for Media. Now After Plugin deactivation: Category submenu
   still shows. But desired is for it to no longer appear in the Media menu.
 * I hope that makes more sense.
 * Thanks again for your help.
 *  Plugin Author [jeffrey-wp](https://wordpress.org/support/users/jeffrey-wp/)
 * (@jeffrey-wp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/uninstallation-3/#post-10037983)
 * The categories link shouldn’t be visible after deactivation. Is there another
   plugin active that uses categories?
    If you want to remove all assigned categories
   for attachments / media you can execute these 3 queries in your database:
 * DELETE FROM wp_terms WHERE term_id IN (SELECT tt.term_id FROM wp_term_taxonomy
   tt, wp_term_relationships tr, wp_posts p WHERE tt.term_taxonomy_id = tr.term_taxonomy_id
   AND tr.object_id = p.ID AND p.post_type = ‘attachment’);
 * DELETE FROM wp_term_taxonomy WHERE term_taxonomy_id IN (SELECT term_taxonomy_id
   FROM wp_term_relationships tr, wp_posts p WHERE tr.object_id = p.ID AND p.post_type
   = ‘attachment’);
 * DELETE FROM wp_term_relationships WHERE object_id IN (SELECT ID FROM wp_posts
   WHERE post_type = ‘attachment’);

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Uninstallation’ is closed to new replies.

 * ![](https://ps.w.org/wp-media-library-categories/assets/icon-256x256.gif?rev=
   2658310)
 * [Media Library Categories](https://wordpress.org/plugins/wp-media-library-categories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-media-library-categories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-media-library-categories/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-media-library-categories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-media-library-categories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-media-library-categories/reviews/)

## Tags

 * [remove categories](https://wordpress.org/support/topic-tag/remove-categories/)

 * 3 replies
 * 2 participants
 * Last reply from: [jeffrey-wp](https://wordpress.org/support/users/jeffrey-wp/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/uninstallation-3/#post-10037983)
 * Status: resolved