The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Pass array into function Re: Pass array into function


Thanks Bob. I think that’s fine if we know only three values are being passed in. If I don’t know how many values will be passed in, how should I approach it?

For example, if the values being passed in are category ids like 1,2,3,4, I want to take those values and plug them into a function that uses exclude=1,2,3,4.