• Resolved BBIndikator

    (@bbindikator)


    Hello Jeff,

    some questions for the right use of your great filters.

    To become our backend faster, I plan to deactivate there a lot of plugins, too.
    I know to do this I have to deactivate the plugins first globally and then it is needed to activate them with a filter. That´s fine.

    Here is the question now: How works your routes exactly? For example our backup plugin. This one is a module that will be set up just once. I wanna deactivate it after setup, so that it will not load if we access our admin-area. We just wanna turn it on in the filter, if we wanna do some changes at settings. Afterward we wanna turn it off again.

    1. But if we do that, it is still done it´s job or does that mean that it is no more accessible for it´s task?

    2. On the otherside. If we deactivate a plugin after setup for front- and backend globally, is it the same like to deactivate it in normal plugin settings, or it is just not reachable with frontend- and backend pages but it still do it´s work?

    3. Is there a way you know to deactivate plugins in admin area but to hold it´s menu-entries in the left menu-area, and just to turn the plugin on for it´s settings?

    https://ww.wp.xz.cn/plugins/plugin-organizer/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Might be it is a good idea to have a menu based list to enable/disable for the back-end

    Plugin Author Jeff Sterup

    (@foomagoo)

    If you globally disable a plugin then it will never load. The menu comes from the code within the plugin . So to have it’s menu items visible it has to be loaded. Disabling the plugin globally will disable it as if you have deactivated the plugin on the plugins page. The only place where it won’t disable the plugin is on plugins.php.

    Thread Starter BBIndikator

    (@bbindikator)

    Feature request: Possibility to deactivate a plugin globally to all pages (backend and frontend) but to keep it working in background with it´s settings that gonna setup before.. : )

    On this way it would be possible to work with a lot of nice extensions without slow down your site.. : )

    Plugin Author Jeff Sterup

    (@foomagoo)

    That isn’t possible. You can’t have the plugin functionality if the code is never loaded.

    Thread Starter BBIndikator

    (@bbindikator)

    Oh, that´s pity.. : )

    But one last question please for a better understanding..

    If I understand it right, it is possible to setup a plugin. Afterward deactivate it globally and just activate it on the pages where it is needed with all it´s settings and possibilities?

    Thank You

    Plugin Author Jeff Sterup

    (@foomagoo)

    Yes. You can deactivate a plugin globally and have it only load on the pages you enable it on.

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

The topic ‘Deactivate Plugins for the admin-area’ is closed to new replies.