Created
December 1, 2020 14:13
-
-
Save FrancoStino/29fd6432ae5a88d6038589ef37b5d999 to your computer and use it in GitHub Desktop.
Woocommerce Remove excerpt from single product and move description to excerpt
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 | |
/* | |
* 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