title: How to Search posts using LIKE for Category Name in wordpress?
body: <ul>
  <li>I need to customize the word press basic search filter. </li>
  <li>It is working fine searching against keywords in post title and post content. </li>
  <li>Now i need to show results where if user enters the name matching the
  category name, then it should pull results from that category as well
  as other results. </li>
  <li><p>I am assuming, it should be something like using
  LIKE clause for the category_name or category_in operators in tax
  query.</p>
  
  <pre>
  
  
  $args = get_posts(array(
              'fields' => 'ids',
              'post_type' => 'post',
              'post_status' => 'publish',
              'posts_per_page' => -1,
              's' =>  $_REQUEST['s'] ? $_REQUEST['s'] : '' ,
              'tax_query' => array(
                   array(
                  'taxonomy' => 'NAME OF TAXONOMY',
                  'field'    => 'slug',
                  'terms'    => 'SLUG OF the TERM', // LIKE (here should be any LIKE clause etc)
                   ),
              )   
          )); 
   </pre>
  
  <p>How to achieve this scenario, means when user enters any keyword matching the category name it should pull all the results from that category along with general search results. </p></li>
  </ul>
  
  <p><strong>Example:</strong> In search bar user writes "<strong>ABC</strong>" and there is category available with name "<strong>ABC Park</strong>", then it should pull results from this category along with results having post titles and content which contain "ABC".</p>