Remove plugin update notice

This action is not recommended, but in some case you're gonna need it.

This post will show you how to hide individual plugins update notice. You have to add these lines of code to the function.php file in your theme (the example is working on hello plugin and akismet plugin):

// REMOVE UPDATE NOTICE FOR SOME INDIVIDUAL PLUGINS
add_filter('site_transient_update_plugins', 'remove_update_notifications');
function remove_update_notifications($value) {
if ( isset( $value ) && is_object( $value ) ) {
unset($value->response[ 'hello.php' ]);
unset($value->response[ 'akismet/akismet.php' ]);
}
}

If you're using a premium plugin like VC, try this:

// REMOVE UPDATE NOTICE FOR VC PLUGIN
add_filter('site_transient_update_plugins', 'remove_update_notifications');
function remove_update_notifications($value) {
if ( isset( $value ) && is_object( $value ) ) {
unset($value->response[ 'js_composer_theme/js_composer.php' ]);
}
}