I would like use a plugin only on my network home site. Here is the converse of my question: wordpress.stackexchange.com
There is the solution this:
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;
}
How to modify this code, that the $value plugin should be disabled on every subsites (automatically also on subsequent sites), expect on the $current_blog?