$('selector').html($('selector').html().replace('text','replaced text')); Post navigation How to add “add to cart” button in woocommerce Refresh checkout in woocommerce