woocommerce/templates/single-product/tabs/description.php

18 lines
354 B
PHP

<?php
/**
* Description Tab
*/
global $woocommerce, $post;
if ( $post->post_content ) : ?>
<div class="panel" id="tab-description">
<?php $heading = apply_filters('woocommerce_product_description_heading', __('Product Description', 'woocommerce')); ?>
<h2><?php echo $heading; ?></h2>
<?php the_content(); ?>
</div>
<?php endif; ?>