Skip to content

Instantly share code, notes, and snippets.

@benklocek
Created December 31, 2020 21:06
Show Gist options
  • Save benklocek/37088f58703ec5de6ae8e4cf57a86e84 to your computer and use it in GitHub Desktop.
Save benklocek/37088f58703ec5de6ae8e4cf57a86e84 to your computer and use it in GitHub Desktop.
<?php
add_filter('site_option_active_sitewide_plugins', 'modify_sitewide_plugins');
function modify_sitewide_plugins($value) {
global $current_blog;
if( $current_blog->blog_id == 83 ) {
unset($value['sendgrid-email-delivery-simplified/wpsendgrid.php']);
}
return $value;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment