Jump to content

Wordpress Function


Recommended Posts

Hi guys, i'm hoping someone can point me in the right direction here.


I'm importing products into WooCommerce using WP All Import through a XML feed. I need a way to get certain data from the category field, which looks like this ..

<range category='Cars'>Cars </range><range category='Vans'>Vans </range><range category='Lorries'>Lorries </range>

I need to somehow convert this to Cars, Vans, Lorries


I'm not really sure how to approach this, any help would be greatly appreciated.

Link to comment
Share on other sites

  • 3 weeks later...


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.