Server : Apache System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64 User : medchoco ( 2906) PHP Version : 8.3.16 Disable Function : mail Directory : /home/medchoco/www/wp-content/themes/puca/woocommerce/single-product/tabs/ |
Upload File : |
<?php /** * 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 id="woocommerce-fulltext" class="fulltext"> <?php foreach ( $tabs as $key => $tab ) : ?> <div class="woocommerce-Tabs-panel woocommerce-Tabs-panel--<?php echo esc_attr( $key ); ?> entry-content wc-tab" id="tab-<?php echo esc_attr( $key ); ?>" role="tabpanel" aria-labelledby="tab-title-<?php echo esc_attr( $key ); ?>"> <h3 class="widget-title"> <span><?php echo esc_html($tab['title']); ?></span> </h3> <?php if ( isset( $tab['callback'] ) ) { call_user_func( $tab['callback'], $key, $tab ); } ?> </div> <?php endforeach; ?> <?php do_action( 'woocommerce_product_after_tabs' ); ?> </div> <?php endif; ?>