WordPress.org

Ready to get started?Download WordPress

Forums

callback for when a user deletes a plugin? (1 post)

  1. MaartenM
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic