Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WooCommerce Remove Product Description from single product pages
// remove product description from single product pages
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
add_filter( 'woocommerce_product_tabs', 'wc_remove_description_tab', 11, 1 );
function wc_remove_description_tab( $tabs ) {
if ( isset( $tabs['description'] ) ) {
unset( $tabs['description'] );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment