Limit the Words in WooCommerce Product Short Description
WooCommerce has a filter that can limit the words in a product short description field called ‘woocommerce_short_description‘ – coupled with an existing WordPress function ‘wp_trim_words‘ we can make the description any length to suit teasers, sliders etc and leave other areas where we want the full short description. View the code on Gist. In the…
Read More