WordPress.org

Support

Support » Plugins and Hacks » callback for when a user deletes a plugin?

callback for when a user deletes a plugin?

  • Is it possible to register callback for when a user deletes a plugin?

    e.g. like:
    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.