Created
December 7, 2015 16:16
-
-
Save SpartakusMd/f7430389ba8449882402 to your computer and use it in GitHub Desktop.
Disable Wordpress plugin update (ex: WPPUM)
This file contains hidden or 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 | |
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