Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
20 views

Deleting custom post types , custom taxonomies and their data on unistalling [duplicate]

I want to delete my CPTs and taxonomies when someone uninstalls the plugin. Since the plugin is already deactivated the only way that i can do this is by issuing directly SQL statements to the db ...
e4rthdog's user avatar
  • 471
0 votes
1 answer
775 views

How to remove plugin-specific custom taxonomy terms when plugin is uninstalled?

I'm trying to write a class that would allow for easy removal of all plugin-related data when the plugin is uninstalled. Specifically, I want it to remove plugin options, custom post type entries, and ...
Shaun Scovil's user avatar