I am trying to update a custom post type’s meta field on wordpress.
The Custom Post type was registered with JetEngine.
If I use the following expression without any variables, it updates the meta field perfectly:
{
"meta":{
"property-description":"COSPICUA - Step into the future of urban living with this MAISONETTE in the heart of Cospicua. <br /><br /> Nestled amidst a vibrant community and just a stone's throw away from all your daily needs, this architectural marvel is more than just a home; it's a lifestyle upgrade. Elegantly designed with a keen eye for detail, this MAISONETTE boasts a harmonious blend of contemporary aesthetics and functionality. "
}
}
However, whenever I try and replace the text with a variable as follows, it gives me a JSON error:
Below the JSON box, the “result for item 1” renders exactly the same as when I type the description out in text. But when I test the node it gives me the following error: