• Resolved Jon

    (@freshyjon)


    Is there an option to remove the MonsterInsights database tables when uninstalling the plugin? It doesn’t seem to remove them when deleting the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Jon

    (@freshyjon)

    What is monsterinsights_lite_uninstall_hook used for? I see that within the uninstall_plugins option_name value within wp_options.

    Plugin Author chriscct7

    (@chriscct7)

    monsterinsights_lite_uninstall_hook deletes the options/settings for MonsterInsights when the plugin is deleted

    Note, this hook does not run if either of the following conditions exist:
    – You have MI Pro installed (since Pro automatically uses the options from Lite, so they need to stay)
    – The plugin is just deactivated (the hook only runs when the plugin is deleted, not when its deactivated)

    -Chris

    • This reply was modified 3 years, 9 months ago by chriscct7.

    There are still 2 references to monsterinsights in the database though, within wp_options:

    Within cron is monsterinsights_usage_tracking_cron

    And within uninstall_plugins is monsterinsights_lite_uninstall_hook

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove database entries on uninstall?’ is closed to new replies.