You can use the filter site_option_*.
Example, the following will disable akismet on blog with id 2.
1 2 3 4 5 6 7 8 9 10 11 | 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; } |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.