You can use the filter site_option_*
.
E.g. the following will disable akismet on blog with id 2.
add_filter('site_option_active_sitewide_plugins', 'modify_sitewide_plugins');
function modify_sitewide_plugins($value) {
global $current_blog;
if( $current_blog->blog_id == 2 ) {
unset($value['akismet/akismet.php']);
}
return $value;
}
Related Posts:
- How to add Custom Blog Options to new blog setup form?
- How can I trust switch_to_blog()?
- Remove the blog slug from WordPress Multisite root node
- I want to develop locally with Multisite, then migrate each site to separate remote WP installs
- Post and Page Inheritance to subsites in a WordPress Network
- Roles other than Super admin accessing manage_network_themes
- Multisite in subfolder – How to make new sites to be in same level subfolders as the main site
- How to list all network sites on one page
- Overriding the default WP Multisite notification e-mail
- Is there any central control/access panel for several WordPress sites?
- Memory needed to host 200 wordpress sites?
- Changing subdir multisite install to subdir core directory structure
- WPMU vs WordPress MultiSite is there a difference anymore?
- Multisite database upgrade SSL error
- Odd Script File Trying to be Loaded
- Force Network Admin Dashboard to 1 column on wordpress multisite
- Emailing only the users of a MultiSites Sub-Sites
- wp_logout_url isn’t forwarding to correct link
- Multiple blogs, different domain names, one install to rule them all
- Multiple sites (separate domains) running from one WordPress site
- Can simple Admin save options in a Multisite?
- Is there a hook or a function for multisite blog deactivate or delete?
- How does WordPress tell which post is from which site in a multisite setup?
- How do I use different domain for subdomains in WP Multisite?
- How to remove nodes site wide from the toolbar on multisite install
- Limit multisite/network site names to a property of the user
- How to set Active plugins as the default screen?
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- WordPress MU and nested sites addresses?
- Global searchin multisite but only with one subsite
- Multi-site vs seperate installs for just 3 blogs?
- Installing WP twice in same Directory?
- How deactivate the http-api
- Hosting a seperate wordpress project on localhost
- WordPress multisite in subdirectory, not root, and remove base folder from url
- No My Sites link after installing Multisite
- Speed up MU WordPress on Apache VPS?
- Buddypress on Multisite – Member List
- How do I use different URLs in a single WordPress installation?
- Removing a wordpress multisite installation and preserving the database before migrate to nginx
- Add additional non-rewrite .htaccess directives on multisites via mod_rewrite_rules filter
- get_post_type_object() does not work with switch_to_blog()
- Child Theme activates, but nothing from parent theme displays (MAMP, Multisite)
- How do you disable account activation in WPMU and then log the user in right away?
- Error uploading files bigger than 58 MB
- How to change the parent Domain Name in Multisites Project?
- Multisite registration problem [closed]
- Some PDF files get Forbidden Access and other open normally on the same directory subsites
- Link structure, WordPress IIS
- WordPress MultiSite Theme
- Multisite, Subdomain, shared NFS directory Linux HELP
- Create Custom Multisite User Role to Reduce Capabilities
- Can I safely remove banned names from WordPress?
- Multisite install w/ Sub domains on a subdomain
- How to get blog_id of an MU site when running a custom function on the parent site
- WordPress multisite domain
- WordPress multisite not work wp-admin
- Multisite WP-API json v2 : can i fetch all comments on all sites with a single query?
- How to install seperate theme on certain page
- Using Same User Database on Subdomain
- Change language for each website using multisite
- Multisite subdomain-site redirects to primary site
- Permission warning in wordpress multisite
- Static directories in a WordPress multisite network
- Trying to Decide Between Reverse-proxy and Multisite
- Export / import
- Remember language choice on multisite website
- Multisite network admin login redirect
- Seeking solution to sync wordpress sites with Server
- wp-cli core install –skip-email and –skip-config flags not working on MAMP unknown parameter
- Multisite network subdomains doesn’t work
- MULTISITE: Password issue and Error Cant access site
- trying to install a wordpress multisite in a subfolder and have custom subsite urls
- Multisite with Different URLs on Local Server
- SSL for Mapped Domains with WordPress Multisite on AWS
- Accessing WP multisite via IP instead of domain
- Running hosted multisite version of wordpress
- Applying Child Theme to another site, which has its own URL
- After cloning my WordPress database to another server, I cannot log in
- Admin Ajax returns “0 200 OK server error..” in Multi-site sub-site
- How to implement this subdirectory mapping in multisite?
- WordPress MU with subdomain
- How do i get custom metabox data from each multisite blog?
- Multisite login and redirect to users main blog,
- WordPress multisite dashboard not working..!
- How can I have different langauges in wp-admin on a multisite installation?
- Parse shortcodes from another site in WP Multisite
- Custom pages on all multisite network, to NOT show in wp-admin at all
- In a MS install, can you allow different users to have their own themes?
- Install WordPress MU outside htdocs
- Redirect authors from upload.php url to Home page in Multisite
- Images on WP Network’s subsite appear only if accessed via main site’s url
- WordPress Multisite platform for different city for single db
- Multisite: should /blog go to a 404 page?
- Not being allowed to use some terms in Add New Site in WordPress
- How to redirect root blog to a specific one in multilang WP?
- Create service similar to wordpress.com [closed]
- Single installation with sub-domains for admin and separate domains for sites
- The wpmu_blogs_columns filter is not working
- Map WP Multisite blog.example.com to anotherdomain.com/blog?