1180 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

@mabuc

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
  • Has been part of the Envato Community for over 2 years
  • Sells items exclusively on Envato Market
themebros
says

@mabus

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.

by
by
by
by
by
by