title: How to get posts filtered by custom field that is post object type?
body: <p>I want to get posts of an specific post type where those have custom field with type of post type.</p>
  
  <p>I have post type named "tour", and tour post type has custom field named "country" that its type is Post Object.</p>
  
  <p>The query for get all tours that their country is "Turkey":</p>
  
  <pre><code>$located_tours = get_posts(array(
      'numberposts'   =&gt; -1,
      'post_type'     =&gt; 'tour',
      'meta_query'    =&gt; array(
          'key'       =&gt; 'country',
          'title'     =&gt; 'Turkey',
          'compare'   =&gt; 'LIKE'
      )
  ));
  </code></pre>
  
  <p>But this query return all tours without any filtering on Country</p>
  
  <p>Anyone have any idea?
  Thanks</p>