title: wordpress search result page show custom category
body: <p>When using wordpress search</p>
  
  <p><a href="https://example.com/wordpress/?s=mykeyword" rel="nofollow noreferrer">.../wordpress/?s=mykeyword</a></p>
  
  <p>the standard search page title is</p>
  
  <blockquote>
    <p>Search Results for: mykeyword</p>
  </blockquote>
  
  <p>I want the search result page behave different for search inside specific categories:</p>
  
  <p><a href="https://example.com/wordpress/?s=mykeyword&amp;cat=42" rel="nofollow noreferrer">.../wordpress/?s=mykeyword&amp;cat=42</a></p>
  
  <blockquote>
    <p>Search Results for: mykeyword <strong>found in Category
    <em>myresolvedcategory42</em></strong></p>
  </blockquote>
  
  <p>Any suggestions how to achieve that? </p>
  
  <p>I have taken a look inside search.php. I need an equivalent for get_search_query() like get_search_category()</p>