Escaping quotes in filters

Status: Closed · Asked by mustafamohsen on · 0 views

mustafamohsen — Question ·

Hello
I want to filter a substring from Line Items (JSON string received from WooCommerce order created), specifically if it contains a certain

"product_id":(value)
pair, but quotation marks seem to cause a problem and always returns false. I tried escaping it with a backslash, replacing it with its HTML code, and eliminating it all together, with no success

How can I do that?

Pabblymember11 — Reply ·

Hey @mustafamohsen

Please check out the following screenshot for your concern -

mustafamohsen — Reply ·

Hi @Supreme
Thanks!

Back to all forum threads · Log in to reply