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

5 lines
176 B
PHP

<?php global $post;
if ( $post->post_content ) : ?>
<li class="description_tab"><a href="#tab-description"><?php _e('Description', 'woocommerce'); ?></a></li>
<?php endif; ?>