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?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: