Skip to content

Instantly share code, notes, and snippets.

View ParhamG's full-sized avatar

Parham Ghaffarian ParhamG

  • uConnect Inc.
  • Boston, MA
View GitHub Profile
@ParhamG
ParhamG / blacklist_jetpack_modules.php
Last active August 8, 2024 22:45
If you are annoyed with this automatic activation of Jetpack modules, specially on a multi-site setup, here is how to completely disable modules across the entire network without having to visit each site and disable modules one by one.Since version 2.4, Jetpack has introduced 'jetpack_get_available_modules' filter, which allows you to black lis…
<?php
/*
Plugin Name: Blacklist Jetpack Modules
Plugin URI: https://gist.github.com/ParhamG/6494979
Description: Blacklist Jetpack modules.
Author: Parham Ghaffarian
Author URI: http://parh.am
Version: 0.1.3.4.1
*/