title: Wordpress meta_query key array
body: <p>I am using the: <a href="http://www.farinspace.com/how-to-create-custom-wordpress-meta-box/" rel="noreferrer">http://www.farinspace.com/how-to-create-custom-wordpress-meta-box/</a> function to create some custom meta boxes.</p>
  
  <p>My WP_Query looks like this:</p>
  
  <pre><code>            $args = array(
                  'post_type' =&gt; 'testimonials',
                  'post_status' =&gt; 'publish',
                  'orderby' =&gt; checked((bool) $instance['testimonials_random'], true, false) ? 'rand' : 'id',
                  'posts_per_page' =&gt; $testimonials_number,
                  'paged' =&gt; get_query_var('page'),
                  'meta_query' =&gt; array(
                      array(
                          'key' =&gt; '_my_meta["addtosidebar"]',
                          'value' =&gt; 'on',
                          'compare' =&gt; 'LIKE'
                      )
                  )
              );
              $query = new WP_Query($args);
  </code></pre>
  
  <p>The input checkbox addtosidebar looks like this:
  <code>&lt;input type="checkbox" name="_my_meta[addtosidebar]" &lt;?php checked((bool) $meta['addtosidebar'], true); ?&gt; class="checkbox" /&gt;</code></p>
  
  <p>Do you have any idea how can I access the key in the meta_query?</p>
  
  <p>Thanks,
  Cip</p>