1175 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 5-6 years
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
  • Bought between 1 and 9 items
  • Europe
  • Has been a member for 1-2 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
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