• 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 ?

    • This topic was modified 4 years, 10 months ago by Word.
  • The topic ‘Json without HTML’ is closed to new replies.