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

3 lines
197 B
PHP

<?php if ( comments_open() ) : ?>
<li class="reviews_tab"><a href="#tab-reviews"><?php _e('Reviews', 'woothemes'); ?><?php echo comments_number(' (0)', ' (1)', ' (%)'); ?></a></li>
<?php endif; ?>