View keybase.md
Keybase proof
I hereby claim:
- I am marcwoodyard on github.
- I am marcwoodyard (https://keybase.io/marcwoodyard) on keybase.
- I have a public key whose fingerprint is E1DC 6EB8 ED30 1036 0100 3C58 1108 6CFB 6052 8083
To claim this, I am signing this object:
View plugin.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Force deactivate all Jetpack modules, except for stats | |
function jeherve_force_deactivate_everything_but_stats() { | |
if ( class_exists( 'Jetpack_Options' ) ) | |
Jetpack_Options::update_option( 'active_modules', array_unique( array( 'stats' ) ) ); | |
} | |
add_action( 'init', 'jeherve_force_deactivate_everything_but_stats' ); |
View blacklist_jetpack_modules.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.1 | |
*/ |