title: How to Get posts by Taxonomy if Checkbox is Checked in Page
body: <p>I have custom taxonomy registered for custom post type and pages with same value
  how can get posts when the checkbox is checked by taxonomy in Pges . </p>
  
  <p>This To Get Terms in variable  </p>
  
  <pre><code>    $category = get_terms([
          'taxonomy' =&gt; 'category',
          'hide_empty' =&gt; false,
  
      ]);
  $category = get_terms([
          'taxonomy' =&gt; 'category',
          'hide_empty' =&gt; false,
  
      ]);
      $property_area = get_terms([
          'taxonomy' =&gt; 'property_area',
          'hide_empty' =&gt; false,
  
      ]);
      $property_type = get_terms([
          'taxonomy' =&gt; 'property_type',
          'hide_empty' =&gt; false,
  
      ]);
  </code></pre>
  
  <p>WordPress  query </p>
  
  <pre><code>$rent_properties = array(
      'post_type' =&gt; 'properties',
      'posts_per_page' =&gt; 20,
      'post_status' =&gt; 'publish',
      'paged' =&gt; $paged,
      'tax_query' =&gt; array(
          'relation'=&gt;'AND',
          array(
              'taxonomy'=&gt;'category',
              'field' =&gt; 'field_id',
              'terms' =&gt; $category,
          ),
          array(
              'taxonomy'=&gt;'property_area',
              'field'  =&gt; 'fild_id',
              'terms' =&gt;$property_area,
  
          ),
          array(
              'taxonomy'=&gt;'property_type',
              'field'  =&gt; 'slug',
              'terms' =&gt; $property_type
  
          )
      )
  );
  </code></pre>