I’m creating a custom query that is added to the list of queries by a plugin. I’m also adding a few controls if that query objectType is used. I’d like to be able to change/update the query_vars based on changes in that element’s controls, but I don’t want to have to grab the element ID every time (it’s a plugin after all).
Is this possible? If so, how might I go about doing that? I haven’t been able to find anything in the docs or via Google.