__( 'Tiered Pricing', 'tier-pricing-table' ), 'target' => 'tiered-pricing-data', 'class' => (function () { $types = array_merge( TierPricingTablePlugin::getSupportedSimpleProductTypes(), TierPricingTablePlugin::getSupportedVariableProductTypes() ); return array_map( function ( $type ) { return 'show_if_' . $type; }, $types ); })(), ); return $productTabs; } /** * Render content for the tiered pricing tab */ public function render() { global $post; ?>