Convert html codes to string with code (WooCommerce)
-
Hello,
the problem is as follows:
On every WooCommerce product (total: 500 products) where an underscore ?_“ has been used the acf custom field ?product_uid“ shows the html character ?–“.
New WooCommerce products are imported with WP All Import and the unique identifier can not be matched since the dash of the existing products are in unicode.
Without having to change each record manually, how would I convert the corresponding products with the html character to a string? Can someone give me a code example? Would I need to create a query that returns all posts for the post type?
Alternatively is there a plugin that can be used to convert the html codes to text?
Thanks in advance & all the best,
Mick
- The topic ‘Convert html codes to string with code (WooCommerce)’ is closed to new replies.