• Resolved luisserrano

    (@luisserrano)


    Hello.

    How can I perfom a full uninstall including DB cleaning? After reinstall de plugin I see all settings are still there.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Sourov Amin

    (@sourov)

    Hello,

    User Meta itself does not clean some of its data, in case you re-install the plugin again, you may not want to start from the scratch. Also, it is helpful for version updates. However, if you really want to get rid of these data, you can choose some other ways.

    Any plugin like Advanced Database Cleaner can be the solution. For the note, all User Meta settings and options are stored in WordPress ‘option’ table and the prefix of these options is ‘user_meta’.

    In another way, running the code below will erase this plugin’s data.

    $all_options = wp_load_alloptions();
     
    foreach ( $all_options as $name => $value ) {
        if ( substr( $name, 0, strlen('user_meta') ) === 'user_meta' ) {
            delete_option( $name );
        }
    }

    And the feature of DB cleaning on uninstallation will be considered in the future updates.

Viewing 1 replies (of 1 total)
  • The topic ‘Full uninstall with clean DB?’ is closed to new replies.