woocommerce/templates/single-product/tabs/tab-reviews.php

14 lines
426 B
PHP
Raw Normal View History

2012-08-14 18:05:45 +00:00
<?php
/**
* Reviews tab
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
2012-08-14 18:05:45 +00:00
if ( comments_open() ) : ?>
2012-10-16 09:45:33 +00:00
<li class="reviews_tab"><a href="#tab-reviews"><?php echo apply_filters('woocommerce_reviews_tab_title', __( 'Reviews', 'woocommerce' )) ?><?php echo comments_number(' (0)', ' (1)', ' (%)'); ?></a></li>
2011-12-12 11:35:54 +00:00
<?php endif; ?>