Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Using ACF Relationship fields in Custom Filters › Reply To: Using ACF Relationship fields in Custom Filters
April 20, 2021 at 9:43 am
#32829
Keymaster
For the frontend part you can use the filters API. That let’s you create cusom filters or modify existing ones. Then, you can access the generated arguments within the asp_query_args hook, which executes right before the search query. For custom fields the post_meta_filter stores the generated filters.
The asp_results hook filters the existing search results, where the query arguments are also present.