Skip to content

Instantly share code, notes, and snippets.

@dipakcg
Created August 29, 2014 17:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dipakcg/17b0d9720f58a5dc6f7f to your computer and use it in GitHub Desktop.
Save dipakcg/17b0d9720f58a5dc6f7f to your computer and use it in GitHub Desktop.
WordPress - Disable Plugin Update Notification For A Specific WordPress Plugin
/* 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