Created
August 29, 2014 17:26
-
-
Save dipakcg/17b0d9720f58a5dc6f7f to your computer and use it in GitHub Desktop.
WordPress - Disable Plugin Update Notification For A Specific WordPress Plugin
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
/* Put this code in current theme’s functions.php */ | |
/* Replace plugin-directory/plugin-file.php with plugin’s directory and file name */ | |
function filter_plugin_updates( $value ) { | |
unset( $value->response['plugin-directory/plugin-file.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