WordPress.org

Ready to get started?Download WordPress

Forums

Deactivation Alert message (2 posts)

  1. mgtonelli
    Member
    Posted 4 years ago #

    Guys,

    got a problem here, when deactivating my plugin, I'm trying to show a popup alert message asking user if he wants to remove DataBase extra tables, I'm using register_deactivation_hook(); but this hook can't show alerts, does someone know how to do that? how do I open a popup on plugin deactivation? is that even possible?

  2. MichaelH
    Member
    Posted 4 years ago #

    Not that I can address your specific question, but look at some of GamerZ's plugins as he does an excellent job of giving an option to remove a plugin and related data.

    http://wordpress.org/extend/plugins/profile/gamerz

Topic Closed

This topic has been closed to new replies.

About this Topic