'.'Accommodation System'.''; } /** * Display tab content. * * return HTML form */ function display(){ global $post; global $TIDPLUS; $has_woocommerce_options = array('enable' => get_post_meta($post->ID, 'has_woocommerce_enable', true), 'position' => get_post_meta($post->ID, 'has_woocommerce_position', true) == '' ? 'summary':get_post_meta($post->ID, 'has_woocommerce_position', true)); ?>

'has_woocommerce_enable', 'options' => $this->enable(), 'label' => 'Enable', 'description' => 'Use Accommodation System for this product')); woocommerce_wp_select(array('id' => 'has_woocommerce_position', 'options' => array('summary' => 'Summary', 'tabs' => 'Tabs', 'summary-tabs' => 'Summary & Tabs'), 'label' => 'Position', 'description' => 'Choose where the content will be displayed inside your product', 'value' => $has_woocommerce_options['position'])); ?>