Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created June 11, 2013 16:07
Show Gist options
  • Save billerickson/5758198 to your computer and use it in GitHub Desktop.
Save billerickson/5758198 to your computer and use it in GitHub Desktop.
<?php
/**
* Disable Inactive Plugins Nag on Synthesis
*
* @since 1.0.0
*/
function ea_disable_inactive_plugins_nag() {
$disable = get_option( 'synthesis-plugin-snapshots-disable' );
if ( ! $disable )
update_option( 'synthesis-plugin-snapshots-disable', true );
}
add_action( 'plugins_loaded', 'ea_disable_inactive_plugins_nag' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment