HEX
Server: Apache
System: Linux web15f49.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: hzaluminio (728004)
PHP: 7.0.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/hzaluminio/www/wp-content/themes/gaze/woocommerce/single-product/tabs/tabs.php
<?php
/**
 * @author  TommusRhodus
 * @package WooCommerce/Templates
 * @version 9.9.9
 */

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() );
$i = 0;

if ( ! empty( $tabs ) ) : ?>

<div class="clearfix"></div>

<div id="reviews" class="tabs tabs-bb">

<ul class="nav nav-tabs">
	<?php 
		foreach ( $tabs as $key => $tab ) : 
		$active = ( 0 == $i ) ? 'active' : '';
		$i++;
	?>
		<li class="<?php echo esc_attr($active); ?>">
			<a href="#tab-<?php echo esc_attr( $key ); ?>" data-toggle="tab">
				<?php echo apply_filters( 'woocommerce_product_' . $key . '_tab_title', esc_html( $tab['title'] ), $key ); ?>
			</a>
		</li>
	<?php endforeach; ?>
</ul>
 
<div class="tab-content pb-0">
	<?php 
		$i = 0;
		foreach ( $tabs as $key => $tab ) : 
		$active = ( 0 == $i ) ? 'in active' : '';
		$i++;
	?>
		<div class="tab-pane fade <?php echo esc_attr($active); ?>" id="tab-<?php echo esc_attr( $key ); ?>">
			<?php if ( isset( $tab['callback'] ) ) { call_user_func( $tab['callback'], $key, $tab ); } ?>
		</div>
	<?php endforeach; ?>
</div>

</div>

<?php endif; ?>