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

25 lines
437 B
PHP
Raw Normal View History

2011-12-09 22:44:03 +00:00
<?php
/**
2012-08-14 18:05:45 +00:00
* Description tab
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
2011-12-09 22:44:03 +00:00
*/
2012-08-14 18:05:45 +00:00
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
global $post;
2011-12-09 22:44:03 +00:00
2014-01-23 04:36:24 +00:00
$heading = esc_html( apply_filters( 'woocommerce_product_description_heading', __( 'Product Description', 'woocommerce' ) ) );
?>
2012-08-14 18:05:45 +00:00
<?php if ( $heading ): ?>
<h2><?php echo $heading; ?></h2>
<?php endif; ?>
2012-08-14 18:05:45 +00:00
<?php the_content(); ?>