• Hi all.

    According to this topic – hide themes from selective sub-sites – this is a very nice feature and helps a lot in limiting sub-site users to only see and use specific themes.

    I have been searching all over to see if there is a similar function to plugins. But unfortunately with no luck.

    The core function I request is a way to limit access to installed plugins to specific subsites only.

    Example could be woocommerce extension – only visible to the subsites that give access to this plugin.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The ‘all_plugins’ filter allows us to pluck out certain plugins before they are displayed in the plugins list table. The filter callback would need some way to know which plugins to pluck out for which sites. A data array is one way, but it’s not easy to maintain. A knowledgeable user could likely still activate a plugin so hidden, but they’d need prior knowledge that the plugin is actually available despite it not appearing in the list table.
    https://developer.www.ads-software.com/reference/hooks/all_plugins/

Viewing 1 replies (of 1 total)
  • The topic ‘Hide plugins from selective sub-sites’ is closed to new replies.