function new_product_tab_content_short() { global $product; $featuresTable = new BE_Compare_Tables(); $featuresTable->prepare_items(array($product->id)); echo $featuresTable->display_short(true); }