Skip to content

Instantly share code, notes, and snippets.

@FrancoStino
Created December 1, 2020 14:13
Show Gist options
  • Save FrancoStino/29fd6432ae5a88d6038589ef37b5d999 to your computer and use it in GitHub Desktop.
Save FrancoStino/29fd6432ae5a88d6038589ef37b5d999 to your computer and use it in GitHub Desktop.
Woocommerce Remove excerpt from single product and move description to excerpt
<?php
/*
* Woocommerce Remove excerpt from single product
*/
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
add_action( 'woocommerce_single_product_summary', 'the_content', 20 );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment