Pass function inside table filters().

Is it possible to pass a function that returns array inside the ->filters() since my filters are dynamic.
Was this page helpful?