How to Disable Plugin Updates in WordPress

For example if you want to hide update notification for akismet plugin, you need to add the following function in your theme functions.php file.


function filter_plugin_updates( $value ) {
    unset( $value->response['akismet/akismet.php'] );
    return $value;
}
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' );