Is it possible to register callback for when a user deletes a plugin?
register_activation_hook and register_deactivation_hook
In my plugin I register a new post type.
I would rather not delete those posts when the plugin is deactivated.
- The topic ‘callback for when a user deletes a plugin?’ is closed to new replies.