There are differen approaches to conditionally hide elements or rows in the total theme. This…
Remove Update Notification for specific plugin
This seems to work only if the plugin is active. but this is ok for me.
function remove_update_notification($value) {
//unset($value->response[ plugin_basename(__FILE__) ]); //when usin in plugin itself
//if( isset( $value->response['facebook-comments-plugin/facebook-comments.php'] ) ) {
unset( $value->response['organization-chart/wpdevart_chart.php'] );
//}
return $value;
}
add_filter('site_transient_update_plugins', 'remove_update_notification');
