Skip to content

Instantly share code, notes, and snippets.

@SpartakusMd
Created December 7, 2015 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SpartakusMd/f7430389ba8449882402 to your computer and use it in GitHub Desktop.
Save SpartakusMd/f7430389ba8449882402 to your computer and use it in GitHub Desktop.
Disable Wordpress plugin update (ex: WPPUM)
<?php
function filter_plugin_updates( $value ) {
unset( $value->response['wp-popup-magic/wp-popup-magic.php'] );
return $value;
}
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment