[Plugin: YouTube Channel] Bug! Shortcode function should not produce output
Thanks for the great plugin. However, I found a bug when I run this shortcode along with other shortcodes (that are supposedly displayed BEFORE youtube channel plugin).
I looked at your code, it turned out that at the end of
ytchannelfunction, you produce an output (
echo $output) rather than returning the value (
return $output). If you could fix it, thanks!
- The topic ‘[Plugin: YouTube Channel] Bug! Shortcode function should not produce output’ is closed to new replies.