apply_filters( 'relevanssi_user_searches_query_url', string $url )

This filter hook filters the URLs to search result pages on the User searches page.


(string) The URL to the search results page. The default value is get_bloginfo( 'url' ), "/?s=" and the search term after rawurlencode().

More information

The User searches page shows the most common search results on your site. The page links the terms to the actual search results. The URLs Relevanssi uses there are the default search page URLs in WordPress. Most of the time, this is the correct URL, but in some cases, the URL may require adjustments. You can use this filter hook to modify the URL, for example, to add more query variables.