| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/thevoux-wp/woocommerce/single-product/tabs/ |
Upload File : |
<?php
/**
* Single Product tabs
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.4.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Filter tabs and allow third parties to add their own
*
* Each tab is an array containing title, callback and priority.
* @see woocommerce_default_product_tabs()
*/
$tabs = apply_filters( 'woocommerce_product_tabs', array() );
if ( ! empty( $tabs ) ) : ?>
<div class="woocommerce-tabs thb_tabs">
<dl class="tabs" role="tablist">
<?php foreach ( $tabs as $key => $tab ) : ?>
<dd role="presentation" class="<?php echo $key ?>_tab">
<h5><a href="#<?php echo $key ?>" role="tab"><?php echo apply_filters( 'woocommerce_product_' . $key . '_tab_title', esc_html( $tab['title'] ), $key ) ?></a></h5>
</dd>
<?php endforeach; ?>
</dl>
<ul class="tabs-content">
<?php foreach ( $tabs as $key => $tab ) : ?>
<li role="tabpanel" id="<?php echo esc_attr( $key ); ?>Tab">
<?php call_user_func( $tab['callback'], $key, $tab ); ?>
</li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>