__( 'Pricing', 'wiaas' ), 'target' => 'wiaas_package_price', 'class' => array( 'show_if_bundle', 'bundled_package_tab' ), 'priority' => 50 ); return $tabs; } public static function package_data_panel() { global $post; $package = wc_get_product( $post->ID ); $pricing_rules = Wiaas_Package_Pricing::get_package_prices($package); ?>
$pricing_rule_set ) { $pay_type = $available_pay_types[$name]; ?> 0) { $label .= '(' . $pay_type['services_contract_period'] . ' ' . $pay_type['period_unit'] . ')'; } else { $label .= '(Unbound)'; } ?>