woocommerce/templates/single-product/tabs.php

20 lines
329 B
PHP
Raw Normal View History

2011-12-09 20:16:34 +00:00
<?php
/**
* Single Product Tabs
*/
2012-04-03 09:34:02 +00:00
// Get tabs
ob_start();
do_action('woocommerce_product_tabs');
$tabs = trim( ob_get_clean() );
if ( ! empty( $tabs ) ) : ?>
<div class="woocommerce_tabs">
<ul class="tabs">
<?php echo $tabs; ?>
</ul>
<?php do_action('woocommerce_product_tab_panels'); ?>
</div>
<?php endif; ?>