WordPress.org

Forums

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

  1. Maarten Menten
    Member
    Posted 3 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

  • RSS feed for this topic
  • Started 3 years ago by Maarten Menten
  • This topic is not resolved
  • WordPress version: 3.3.2