Created
August 17, 2023 08:57
-
-
Save wooxperto/8c5a57b388a0a9987ea8a327d5244a73 to your computer and use it in GitHub Desktop.
To using this snippet single product tabs will remove.
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
<?php | |
/** | |
* @snippet Remove product tabs| WooCommerce | |
* @author WooXperto | |
* @date 17.08.2023 | |
*/ | |
// Remove product tabs from single product page on WooCommerce | |
if( !function_exists("wooXperto_remove_single_product_tabs")){ | |
function wooXperto_remove_single_product_tabs(){ | |
remove_action("woocommerce_after_single_product_summary","woocommerce_output_product_data_tabs",10); | |
} | |
} | |
add_action("wp","wooXperto_remove_single_product_tabs"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment