[wp-hackers] Problems with shortcode function in plugin

Ade Walker photofantaisie at gmail.com
Mon Dec 29 18:47:15 GMT 2008


Aaron,

That's perfect! Thanks.

Ade.

2008/12/29 Aaron D. Campbell <aaron at xavisys.com>

> You can do something like this:
>
> function whatever($echo=false) {
>   $output = '';
>   foreach(){
>       $output .= "something";
>   }
>   if ($echo)
>       echo $output;
>   return $output;
> }
>
>


More information about the wp-hackers mailing list