50
Today we take a look at the WooCommerce Single Product page and specifically at how to remove the whole Product Tabs Section, and re-add the Long Description on its own (and not inside a tab).
PHP Snippet: Hide Product Tabs & Show Long Description @ WooCommerce Single Product Page
/**
* @snippet Remove Product Tabs & Echo Long Description
* @how-to Get tutoraspire.com FREE
* @author Tutor Aspire
* @testedwith WooCommerce 5.1
* @donate $9 https://tutoraspire.com
*/
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
add_action( 'woocommerce_after_single_product_summary', 'tutoraspire_wc_output_long_description', 10 );
function tutoraspire_wc_output_long_description() {
?>