• Hello everyone ??
    I want to set a specific plugin and its configuration for all of sub domains of multi site with same configuration , like payment gateways plugin.
    Anyone can help ?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You can install a plugin as a “must use” plugin, but that doesn’t set the configuration. One way to impose a specific configuration would be to create a second must use plugin that forces a certain configuration be used. Exactly how this is done depends on how the configuration is saved. If it’s saved in the site’s options table, you could use the "option_{$option}" filter to return a specific value no matter what the saved values are.

    If users have the capability to change the configuration, this could be confusing as the changes will have no effect. It might be a good idea to hide the plugin’s settings screen if changing them will not have an effect anyway.

Viewing 1 replies (of 1 total)
  • The topic ‘How to set up a specific plugin with fixed configuration for all sub domain?’ is closed to new replies.