How to replace a string in Woocommerce single product variation description?

Could someone please advise how I go about doing a PHP string replace via action or filter (or manipulating the markup) of the single product variation description in WooCommerce?

There doesn’t appear to be any hooks for this.

The above is so that I can turn each line break of the description into a list item.

Read more here: How to replace a string in Woocommerce single product variation description?

Leave a Reply

Your email address will not be published. Required fields are marked *