Created
February 8, 2017 17:14
-
-
Save peterwegren/0b297f3ab6e00b042f52036df51401d2 to your computer and use it in GitHub Desktop.
Hide WP plugin updates.
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 | |
function filter_plugin_updates( $value ) { | |
unset( $value->response['akismet/akismet.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