Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support weblizar_support

    (@weblizar_support)

    hi FPVtv,

    If you want to delete all settings on plugin deactivation than you do this

    Go to Your core plugin directory

    Open “admin-custom-login.php” file into any text editor.

    Past below code in line no 26

    register_deactivation_hook( __FILE__, ‘ACL_deactivate’ );
    function ACL_deactivate(){
    delete_option( ‘Admin_custome_login_Version’ );
    delete_option( ‘Admin_custome_login_dashboard’ );
    delete_option( ‘Admin_custome_login_top’ );
    delete_option( ‘Admin_custome_login_login’ );
    delete_option( ‘Admin_custome_login_text’ );
    delete_option( ‘Admin_custome_login_logo’ );
    delete_option( ‘Admin_custome_login_Social’ );
    delete_option( ‘Admin_custome_login_Slidshow’ );
    }

    now save the changes

    I want to know why you want to delete all those settings on plugin deactivation ??

    thanks

    Thread Starter Martin

    (@fpvtv)

    Thank you for this instruction.
    I want to know coz after install and uninstall about 50 plugins all unused setting are still in sql and I have to clean it manually what is not easy… .
    For me I fill safer if I see that some developer add option to delete all setting on uninstall coz In my mind I will know that develeoper doing his job seriously and know that If I uninstall plugin it means that I don’t want to use it any more and I dont want to collect unused settings/garbage in SQL .

    I think option to Full/Clean uninstall should be a part of every wordpress plugin.

    btw. When I first time clean manually my SQL, size from 99,8MB goes to 24MB what makes a different for me :).

    Hi Marcin,

    We will add this feature in next update to clean all database at time of uninstall plugin.

    Thanks for using our plugin.
    weblizar

    Thread Starter Martin

    (@fpvtv)

    Thank you
    For me it means that you are professional, and you doing your job seriously. For sure I will install your plugins.

    Thank you 🙂

    You are welcome Marcin.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Uninstall plugin’ is closed to new replies.