Skip to:
Content
Pages
Categories
Search
Top
Bottom

Network Activated BP Plugins Selective Disable


  • Nahum
    Participant

    @nahummadrid

    how can I stop a plugin from loading on a specific site on a network. I have a handful of plugins that load their files for every site on a network. its there a way to disable these for specific sites or just make them work on the main site and no others.

    *edit i don’t know what just happened there, but this topic posted twice….it was not intended

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

  • pcwriter
    Participant

    @pcwriter

    @nuhammadrid

    Try wrapping the code in the plugin’s main file with a conditional so it only executes on the main site.

    Or you could do something similar to exclude selected sites. Check the codex for available tags: https://codex.buddypress.org/developer-docs/conditional-template-tags/

    This is more an aspect of WP rather than BP and there are plugin managers available that allow you to control the availability of plugins to multi site blogs


    Nahum
    Participant

    @nahummadrid

    thanks @hnla @pcwriter I’ll look into both of these suggestions. I’ve made the round over to wp but since the majority if not all are BP plugins I thought I’d put it out there here. I’m having a hard time seeing why some of these BP plugins need to be network activated at all.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Network Activated BP Plugins Selective Disable’ is closed to new replies.
Skip to toolbar