__( 'Role & Customer Prices', 'tier-pricing-table' ), 'target' => 'role-customer-pricing-data', 'class' => ( function () { $types = array_merge( TierPricingTablePlugin::getSupportedSimpleProductTypes(), TierPricingTablePlugin::getSupportedVariableProductTypes() ); $classes = array_map( function ( $type ) { return 'show_if_' . $type; }, $types ); return $classes; } )(), ); return $productTabs; } public function render() { if ( ! apply_filters( 'tiered_pricing_table/admin/role_customer_pricing_tab_active', false ) ) { return; } global $post; ?>
can_use_premium_code() ) { $this->renderUpgradeNotice(); } if ( tpt_fs()->can_use_premium_code() && ! tpt_fs()->is_premium() ) { $this->getContainer()->getFileManager()->includeTemplate( 'admin/banners/free-version-used-premium-available.php', array( 'is_product' => true, ) ); } do_action( 'tiered_pricing_table/admin/role_customer_pricing_tab_begin', $post->ID ); ?>
ID ); ?>
ID ); ?>