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

24 lines
525 B
PHP

<?php
/**
* Description tab
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $woocommerce, $post;
if ( $post->post_content ) : ?>
<div class="panel entry-content" id="tab-description">
<?php $heading = esc_html( apply_filters('woocommerce_product_description_heading', __( 'Product Description', 'woocommerce' ) ) ); ?>
<h2><?php echo $heading; ?></h2>
<?php the_content(); ?>
</div>
<?php endif; ?>