WP_Query Object
(
    [query] => Array
        (
            [post_type] => restaurant
            [tax_query] => Array
                (
                    [relation] => AND
                    [0] => Array
                        (
                            [taxonomy] => ville
                            [field] => slug
                            [terms] => Array
                                (
                                    [0] => tel-aviv
                                )

                        )

                )

            [posts_per_page] => -1
            [fields] => ids
        )

    [query_vars] => Array
        (
            [post_type] => restaurant
            [tax_query] => Array
                (
                    [relation] => AND
                    [0] => Array
                        (
                            [taxonomy] => ville
                            [field] => slug
                            [terms] => Array
                                (
                                    [0] => tel-aviv
                                )

                        )

                )

            [posts_per_page] => -1
            [fields] => ids
            [error] => 
            [m] => 
            [p] => 0
            [post_parent] => 
            [subpost] => 
            [subpost_id] => 
            [attachment] => 
            [attachment_id] => 0
            [name] => 
            [static] => 
            [pagename] => 
            [page_id] => 0
            [second] => 
            [minute] => 
            [hour] => 
            [day] => 0
            [monthnum] => 0
            [year] => 0
            [w] => 0
            [category_name] => 
            [tag] => 
            [cat] => 
            [tag_id] => 
            [author] => 
            [author_name] => 
            [feed] => 
            [tb] => 
            [paged] => 0
            [meta_key] => 
            [meta_value] => 
            [preview] => 
            [s] => 
            [sentence] => 
            [title] => 
            [menu_order] => 
            [embed] => 
            [category__in] => Array
                (
                )

            [category__not_in] => Array
                (
                )

            [category__and] => Array
                (
                )

            [post__in] => Array
                (
                )

            [post__not_in] => Array
                (
                )

            [post_name__in] => Array
                (
                )

            [tag__in] => Array
                (
                )

            [tag__not_in] => Array
                (
                )

            [tag__and] => Array
                (
                )

            [tag_slug__in] => Array
                (
                )

            [tag_slug__and] => Array
                (
                )

            [post_parent__in] => Array
                (
                )

            [post_parent__not_in] => Array
                (
                )

            [author__in] => Array
                (
                )

            [author__not_in] => Array
                (
                )

            [ignore_sticky_posts] => 
            [suppress_filters] => 
            [cache_results] => 1
            [update_post_term_cache] => 1
            [lazy_load_term_meta] => 1
            [update_post_meta_cache] => 1
            [nopaging] => 1
            [comments_per_page] => 50
            [no_found_rows] => 
            [taxonomy] => ville
            [term] => tel-aviv
            [order] => DESC
        )

    [tax_query] => WP_Tax_Query Object
        (
            [queries] => Array
                (
                    [relation] => AND
                    [0] => Array
                        (
                            [taxonomy] => ville
                            [terms] => Array
                                (
                                    [0] => tel-aviv
                                )

                            [field] => slug
                            [operator] => IN
                            [include_children] => 1
                        )

                )

            [relation] => AND
            [table_aliases:protected] => Array
                (
                    [0] => wp_btvn_term_relationships
                )

            [queried_terms] => Array
                (
                    [ville] => Array
                        (
                            [terms] => Array
                                (
                                    [0] => tel-aviv
                                )

                            [field] => slug
                        )

                )

            [primary_table] => wp_btvn_posts
            [primary_id_column] => ID
        )

    [meta_query] => WP_Meta_Query Object
        (
            [queries] => Array
                (
                )

            [relation] => 
            [meta_table] => 
            [meta_id_column] => 
            [primary_table] => 
            [primary_id_column] => 
            [table_aliases:protected] => Array
                (
                )

            [clauses:protected] => Array
                (
                )

            [has_or_relation:protected] => 
        )

    [date_query] => 
    [request] => SELECT   wp_btvn_posts.ID FROM wp_btvn_posts  LEFT JOIN wp_btvn_term_relationships ON (wp_btvn_posts.ID = wp_btvn_term_relationships.object_id) JOIN wp_btvn_icl_translations wpml_translations
							ON wp_btvn_posts.ID = wpml_translations.element_id
								AND wpml_translations.element_type = CONCAT('post_', wp_btvn_posts.post_type)  WHERE 1=1  AND ( 
  wp_btvn_term_relationships.term_taxonomy_id IN (24,1212,1338)
) AND wp_btvn_posts.post_type = 'restaurant' AND (wp_btvn_posts.post_status = 'publish') AND ( ( ( wpml_translations.language_code = 'en' OR (
					wpml_translations.language_code = 'en'
					AND wp_btvn_posts.post_type IN ( 'menu' )
					AND ( ( 
			( SELECT COUNT(element_id)
			  FROM wp_btvn_icl_translations
			  WHERE trid = wpml_translations.trid
			  AND language_code = 'en'
			) = 0
			 ) OR ( 
			( SELECT COUNT(element_id)
				FROM wp_btvn_icl_translations t2
				JOIN wp_btvn_posts p ON p.id = t2.element_id
				WHERE t2.trid = wpml_translations.trid
				AND t2.language_code = 'en'
				AND (
					p.post_status = 'publish' OR 
					p.post_type='attachment' AND p.post_status = 'inherit'
				)
			) = 0 ) ) 
				) ) AND wp_btvn_posts.post_type  IN ('post','page','attachment','wp_block','product','product_variation','portfolio','restaurant','emploi','menu','commerce' )  ) OR wp_btvn_posts.post_type  NOT  IN ('post','page','attachment','wp_block','product','product_variation','portfolio','restaurant','emploi','menu','commerce' )  ) GROUP BY wp_btvn_posts.ID ORDER BY wp_btvn_posts.post_date DESC 
    [posts] => Array
        (
            [0] => 85194
            [1] => 84324
            [2] => 79841
            [3] => 79736
            [4] => 79734
            [5] => 79672
            [6] => 78361
            [7] => 77541
            [8] => 76957
            [9] => 70655
            [10] => 68516
            [11] => 60109
            [12] => 59722
            [13] => 59186
            [14] => 51310
            [15] => 51242
            [16] => 49172
            [17] => 41019
            [18] => 40276
            [19] => 32951
            [20] => 32336
            [21] => 30218
            [22] => 28604
            [23] => 24908
            [24] => 13658
            [25] => 12072
            [26] => 10614
            [27] => 7284
            [28] => 4760
            [29] => 4634
            [30] => 1558
            [31] => 1554
            [32] => 1520
            [33] => 1498
            [34] => 1488
            [35] => 1474
            [36] => 1458
            [37] => 1454
            [38] => 1446
            [39] => 1424
            [40] => 1418
            [41] => 1406
            [42] => 1396
            [43] => 1376
            [44] => 1374
            [45] => 1370
            [46] => 1352
            [47] => 1350
            [48] => 1348
            [49] => 1344
            [50] => 1328
            [51] => 1304
            [52] => 1272
            [53] => 1260
        )

    [post_count] => 54
    [current_post] => -1
    [in_the_loop] => 
    [comment_count] => 0
    [current_comment] => -1
    [found_posts] => 54
    [max_num_pages] => 0
    [max_num_comment_pages] => 0
    [is_single] => 
    [is_preview] => 
    [is_page] => 
    [is_archive] => 1
    [is_date] => 
    [is_year] => 
    [is_month] => 
    [is_day] => 
    [is_time] => 
    [is_author] => 
    [is_category] => 
    [is_tag] => 
    [is_tax] => 1
    [is_search] => 
    [is_feed] => 
    [is_comment_feed] => 
    [is_trackback] => 
    [is_home] => 
    [is_privacy_policy] => 
    [is_404] => 
    [is_embed] => 
    [is_paged] => 
    [is_admin] => 
    [is_attachment] => 
    [is_singular] => 
    [is_robots] => 
    [is_posts_page] => 
    [is_post_type_archive] => 1
    [query_vars_hash:WP_Query:private] => ac9edeee8ac2c11e460514900edf8374
    [query_vars_changed:WP_Query:private] => 
    [thumbnails_cached] => 
    [stopwords:WP_Query:private] => 
    [compat_fields:WP_Query:private] => Array
        (
            [0] => query_vars_hash
            [1] => query_vars_changed
        )

    [compat_methods:WP_Query:private] => Array
        (
            [0] => init_query_flags
            [1] => parse_tax_query
        )

)