Json without HTML
-
Hi, how can I get json in php using shortcode without html tags ?
I end up doing it like this :$shortcode = strip_tags(str_replace(array("var cf7db =","[","];"), array("","",""), do_shortcode( '[cfdb-json form="'.$form.'"]' )));
is there any better solution ?
- The topic ‘Json without HTML’ is closed to new replies.