Overriding SEARCH_PARAMETER_Q?
-
I have an existing search I am replacing with WPSOLR and the query param it uses is “q”. I’d like to reuse this param to save myself a bunch of redirects but I don’t see a way to do so without modifying the plugin code.
Is there a filter anywhere along the way I can use to override the SEARCH_PARAMETER_Q constant and use my custom parameter instead? I only see it being set as a constant:
const SEARCH_PARAMETER_Q = 'wpsolr_q'; // New query name
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Overriding SEARCH_PARAMETER_Q?’ is closed to new replies.