Escaping double quotes in a pcustom custom field
-
I’m using the updated postie shortcodes addon. Is it possible to escape quotations (i.e., double quotes) in the value of a pcustom? I need to insert a serialized value in a pcustom field and need to use double quotes. Here’s an example of my value:
a:1:{i:0;a:7:{s:4:"name";s:0:"";s:11:"description";s:0:"";s:9:"thumbnail";s:0:"";s:7:"address";s:40:"24888 Old Hwy 6, Navasota, TX 77868, USA";s:8:"latitude";s:10:"30.4470861";s:9:"longitude";s:11:"-96.1605283";s:4:"icon";s:24:"/images/icons/marker.png";}}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Escaping double quotes in a pcustom custom field’ is closed to new replies.