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:
<?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 | |
*/ |
<?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' ); |
I hereby claim:
To claim this, I am signing this object: