• Resolved pyoil

    (@pyoil)


    I uninstalled the plugin and deleted it. But the meta data and the associated fields created by the plugin in the database still exists. How do I purge all data?

Viewing 1 replies (of 1 total)
  • @pyoil,

    I am little by little improving our uninstall process. This is one of those things that I know really matters but we’re a small team (I do 100% of the dev) and my users don’t care about uninstall scripts, only those who don’t like LifterLMS and, yes, you’re important too and I don’t intend to screw your database up but I am also almost always at absolute capacity simply trying to keep up with support. Please understand and accept my apologies for this inconvenience.

    If you add the following to your wp-config.php file and then deactivate LifterLMS — most options and some content created by LifterLMS will be deleted upon plugin deactivation:

    define( 'LLMS_REMOVE_ALL_DATA', true );

    After deactivating you can then remove that from your config file.

    As far as deleting other content:

    1) Delete custom posts from your wp_posts table: course, lesson, llms_quiz, llms_question, llms_membership, llms_access_plan

    2) Delete custom tables — anything that starts with “wp_lifterlms_” can be safely deleted

    3) Theres is a ton of postmeta data that will be left behind. I wish there was a foolproof way to do this (part of the reason why I don’t have a great uninstall script yet is it is a bit difficult to idenfity)…

    Anything with the meta_key starting with _llms can be deleted. Though, a quick SQL delete can purge those.

    As always, back up before deleting stuff (just in case).

    Hope that helps and, again, I’m sorry!

Viewing 1 replies (of 1 total)

The topic ‘Plugin Deactivation & Deletion Does Not Remove Meta Data’ is closed to new replies.