Use variables with Shortcode Exec PHP
-
Hello,
I’m trying to make it works a shortcode [download] that need 2 variables : $url and $filename
But when I call the PHP code bellow with shortcode [download url=”www.url.com” filename=”01254551.xls”]
if (get_doc_from_url($url,$filename, "mydoc.xls")) {
It returns nothing. Any idea what is wrong with it ?
Thank you
Vivaldi
- The topic ‘Use variables with Shortcode Exec PHP’ is closed to new replies.