• Resolved rickstar123

    (@rickstar123)


    Hi Jose,

    If I install your plugin and rename the plugins folder, am I able to then de-activate or delete the plugin.

    Will the new plugins folder name still be applied if I did delete it.

    I prefer to not have too many plugins installed.

    Thank you.

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

    (@rickstar123)

    Works perfectly. I was able to uninstal and delete after renaming the plugins folder and the new folder name still applies.

    I’m new to all this and I just don’t trust myself to be messing around with code at this stage, but I’m getting braver.

    Thank you for a very simple and handy plugin.

    Plugin Author Jose

    (@giuse)

    Hi @rickstar123

    thank you for your thread.
    As you have already seen, the plugin folder name doesn’t change after deleting the plugin.
    Actually, for you, this was nice, for other users may be something they don’t like because they may think that removing the plugin all should be restored as before.

    It doesn’t restore the original plugins folder name on deletion, but you can do it before removing the plugin, just renaming the plugin folder with “plugins” before deactivating and deleting it. Because you have this possibility, I’ve decided to don’t complicate the deletion process. The best was asking the user what to do before the deletion, maybe I will add this feature in the future if I see other users complain it should restore the situation as it was before the installation.

    In any case, if you were worried about the performance, you could keep it active. This plugin does nothing, but only when you push the button to change the folder name. It doesn’t write anything in the database, No line of code runs on the frontend. In the backend, just a couple of lines of code to print the form to rename the plugins folder, and they run only on the plugin page. Then a couple of lines of code to add the plugin page link to the admin menu. Nothing else.
    Of course, if it was to see fewer plugins, it was a good idea to delete it, but don’t be worried about the performance, if it’s active or not active it is the same for the performance of your website, both on the backend and frontend. On the frontend, it completely doesn’t exist, and on backend, you would not notice any difference if you measure the backend performance.

    Thread Starter rickstar123

    (@rickstar123)

    Thanks Jose for that thorough explanation.

    Once again I really appreciate clever people like yourself making my wordpress experience so much easier.

    Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rename Plugins Folder’ is closed to new replies.