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.
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 5 years, 3 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