Created
November 23, 2023 11:29
-
-
Save bulentsakarya/af48d109357a45d1a7741a6d60a49587 to your computer and use it in GitHub Desktop.
woocommerce remove product tabs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @snippet Remove Product Tabs & Echo Long Description | |
* @how-to Get CustomizeWoo.com FREE | |
* @author Rodolfo Melogli | |
* @testedwith WooCommerce 5.1 | |
* @donate $9 https://businessbloomer.com/bloomer-armada/ | |
*/ | |
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); | |
add_action( 'woocommerce_after_single_product_summary', 'bbloomer_wc_output_long_description', 10 ); | |
function bbloomer_wc_output_long_description() { | |
?> | |
<div class="woocommerce-tabs"> | |
<?php the_content(); ?> | |
</div> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment