• Hi,
    I want to add functionality in my developed plugin when user click on deactivate link a popup open and asked why you want to deactivate the plugin and when user post reason an email send to provided email address.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hallo,

    I’m sure what you are asking? IF you deactivate a plugin it will be deactivate. You are asking the user to give their reason why they deactivate it by email. That does not sound right

    Thread Starter ghulamfareed27

    (@ghulamfareed27)

    Hello romag59,

    I am asking from you that if some one deactivate my plugin and then a reason form open and we asked reason why you want to deactivate so we improve our plugin functionality.

    Moderator bcworkz

    (@bcworkz)

    It’s common to deactivate plugins for debugging purposes, so pestering users with a dialog upon deactivation could be seen as annoying. The information garnered from such activity would not give you an accurate picture. I think what you’re really interested in would be why someone is uninstalling your plugin, not merely deactivating. To handle tasks of any sort when your plugin is uninstalled, use register_uninstall_hook().

    If your plugin will be offered in the WP repository, the plugin review team rejects plugins that “phone home”. I don’t know if this is considered phoning home or not, it’s something the plugins review team should answer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Reason form on plugin deactivate’ is closed to new replies.