1179 posts
  • Has referred 200+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
mabuc says


Always add a prefix.

Prefix everything

And $slider_options doesn’t exists in there, needs to be defined at the top of the function first.

I know… thanks anyway

@rongcon, you’re welcome ;)

161 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Located in Europe
  • Has been part of the Envato Community for over 1 year
+1 more
themebros says


I know you do but always add it, even in examples. Someone who still learns WP dev will probably stumble upon the code and end up doing things wrong.