-
-
Save leewillis77/64e9291d601e76d35d7f1a24f6f2d523 to your computer and use it in GitHub Desktop.
Use the short product description instead of description (WooCommerce 3.0+)
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 | |
function lw_woocommerce_gpf_description_type( $type ) { | |
return 'short'; | |
} | |
add_filter( 'woocommerce_gpf_description_type', 'lw_woocommerce_gpf_description_type' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment