• Resolved Imagejoeyjosay

    (@joeyjosay)


    Can I put this into a shortcode
    <?php echo filter_input(INPUT_GET,”utm_source”,FILTER_SANITIZE_STRING); ?>
    to echo url parameters on page? Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Imagevaakash

    (@vaakash)

    Hi @joeyjosay shortcoder does not support PHP. So you cannot use the above code.

    You can try if JavaScript can solve the same problem.

    Thanks,
    Aakash

Viewing 1 replies (of 1 total)

The topic ‘Can I add php code to be rendered with the shotcode?’ is closed to new replies.