Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/themify-.../themify/includes
File: wc-accordion-tabs.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Single Product tabs
[2] Fix | Delete
*
[3] Fix | Delete
* This template can be overridden by copying it to your child_theme_folder/woocommerce/single-product/tabs/tabs.php.
[4] Fix | Delete
*
[5] Fix | Delete
* HOWEVER, on occasion WooCommerce will need to update template files and you
[6] Fix | Delete
* (the theme developer) will need to copy the new files to your theme to
[7] Fix | Delete
* maintain compatibility. We try to do this as little as possible, but it does
[8] Fix | Delete
* happen. When this occurs the version of the template file will be bumped and
[9] Fix | Delete
* the readme will list any important changes.
[10] Fix | Delete
*
[11] Fix | Delete
* @see https://docs.woocommerce.com/document/template-structure/
[12] Fix | Delete
* @package WooCommerce\Templates
[13] Fix | Delete
* @version 3.8.0
[14] Fix | Delete
*/
[15] Fix | Delete
[16] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[17] Fix | Delete
exit;
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
/**
[21] Fix | Delete
* Filter tabs and allow third parties to add their own.
[22] Fix | Delete
*
[23] Fix | Delete
* Each tab is an array containing title, callback and priority.
[24] Fix | Delete
*
[25] Fix | Delete
* @see woocommerce_default_product_tabs()
[26] Fix | Delete
*/
[27] Fix | Delete
$product_tabs = apply_filters( 'woocommerce_product_tabs', array() );
[28] Fix | Delete
[29] Fix | Delete
if ( ! empty( $product_tabs ) ) :
[30] Fix | Delete
themify_enque_style('themify-wc-accordion-tabs', Themify_Enqueue_Assets::THEMIFY_CSS_MODULES_URI . 'wc-accordion-tabs.css', null, THEMIFY_VERSION,'all',true);
[31] Fix | Delete
?>
[32] Fix | Delete
[33] Fix | Delete
<div class="woocommerce-tabs wc-tabs-wrapper">
[34] Fix | Delete
<ul class="tf_wc_accordion tf_overflow tf_rel">
[35] Fix | Delete
<?php foreach ( $product_tabs as $key => $product_tab ) : ?>
[36] Fix | Delete
<li class="<?php echo esc_attr( $key ); ?>_tab" id="tab-title-<?php echo esc_attr( $key ); ?>">
[37] Fix | Delete
<a class="tf_wc_acc_title" href="#tab-<?php echo esc_attr( $key ); ?>" aria-controls="tab-<?php echo esc_attr( $key ); ?>" aria-expanded="false">
[38] Fix | Delete
<span class="tf_wc_acc_icon"><?php echo themify_get_icon('ti-plus','ti'); ?></span>
[39] Fix | Delete
<span class="tf_wc_acc_icon accordion-active-icon tf_hide"><?php echo themify_get_icon('ti-minus','ti'); ?></span>
[40] Fix | Delete
<span><?php echo wp_kses_post( apply_filters( 'woocommerce_product_' . $key . '_tab_title', $product_tab['title'], $key ) ); ?></span>
[41] Fix | Delete
</a>
[42] Fix | Delete
<div class="tf_wc_acc_content tf_hide woocommerce-Tabs-panel woocommerce-Tabs-panel--<?php echo esc_attr( $key ); ?> entry-content" id="tab-<?php echo esc_attr( $key ); ?>" aria-hidden="true" aria-labelledby="tab-title-<?php echo esc_attr( $key ); ?>">
[43] Fix | Delete
<?php
[44] Fix | Delete
if ( isset( $product_tab['callback'] ) ) {
[45] Fix | Delete
call_user_func( $product_tab['callback'], $key, $product_tab );
[46] Fix | Delete
}
[47] Fix | Delete
?>
[48] Fix | Delete
</div>
[49] Fix | Delete
</li>
[50] Fix | Delete
<?php endforeach; ?>
[51] Fix | Delete
</ul>
[52] Fix | Delete
<?php do_action( 'woocommerce_product_after_tabs' ); ?>
[53] Fix | Delete
</div>
[54] Fix | Delete
[55] Fix | Delete
<?php endif; ?>
[56] Fix | Delete
[57] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function