Get Field Options from Current Active Query

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)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.