<?php
if (!defined('ABSPATH')) {
    exit;
}
global $product_object;
$product_id = yit_get_product_id( $product_object );
$tab_id = $tab->ID;
$shortcode = get_post_meta($product_id, $tab_id.'_custom_shortcode', true );
?>
<div id="<?php echo $tab_id;?>_tab" class="panel woocommerce_options_panel">
    <div class="custom_tab_options" >
        <p class="form-field">
            <label for="custom_shortcode_tab"><?php _e('Shortcode', 'yith-woocommerce-tab-manager');?></label>
            <textarea name="<?php echo $field_name;?>[shortcode]" placeholder="<?php _e('Add a shortcode here', 'yith-woocommerce-tab-manager');?>"><?php echo $shortcode;?></textarea>
        </p>
     </div>
</div>