if you don’t want WordPress to show update notifications for akismet, you will do it like:
function filter_plugin_updates( $value ) {
unset( $value->response[‘akismet/akismet.php’] );
return $value;
}
add_filter( ‘site_transient_update_plugins’, ‘filter_plugin_updates’ );
// remove update notice for forked plugins
function remove_update_notifications( $value ) {
if ( isset( $value ) && is_object( $value ) ) {
unset( $value->response[ ‘hello.php’ ] );
unset( $value->response[ ‘akismet/akismet.php’ ] );
}
return $value;
}
add_filter( ‘site_transient_update_plugins’, ‘remove_update_notifications’ );