WooCommerce: How to edit the get_price_html


I am trying to edit the price value for a single product.

In single-product/price.php there is a template call to $product->get_price_html. How can I edit that function/method to change the way the HTML is presented?

At the moment even if I delete all the contents of the function located in class-wc-product it still miraculously displays? Anyone know why?

Lucky Luke 2 years 2020-12-20T12:10:24-05:00 0 Answers 10 views 0

Leave an answer