Forums Forums Search & Filter Pro Get Field Options from Current Active Query

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #257288

    I’m working with the active query ($searchandfilter->get($SAFId)->current_query()) and I’m hoping to programmatically get all of the options for one of the fields. Is there a good way to go about this?

    Trevor
    #257311

    It might be possible. See the function and arguments in this filter (designed to be used in the functions.php file, but it might be possible to repurpose it):

    https://searchandfilter.com/documentation/action-filter-reference/#filter-input-object

Viewing 2 posts - 1 through 2 (of 2 total)