testWP_Term Object
(
    [term_id] => 8
    [name] => Hotel
    [slug] => hotel
    [term_group] => 0
    [term_taxonomy_id] => 8
    [taxonomy] => style
    [description] => 
    [parent] => 0
    [count] => 1
    [filter] => raw
)
WP_Query Object
(
    [query] => Array
        (
            [style] => hotel
        )

    [query_vars] => Array
        (
            [style] => hotel
            [error] => 
            [m] => 
            [p] => 0
            [post_parent] => 
            [subpost] => 
            [subpost_id] => 
            [attachment] => 
            [attachment_id] => 0
            [name] => 
            [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] => 
            [fields] => 
            [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
                (
                )

            [search_columns] => Array
                (
                )

            [parsed_rml_folder] => 0
            [ignore_sticky_posts] => 
            [suppress_filters] => 
            [cache_results] => 1
            [update_post_term_cache] => 1
            [update_menu_item_cache] => 
            [lazy_load_term_meta] => 1
            [update_post_meta_cache] => 1
            [post_type] => 
            [posts_per_page] => 10
            [nopaging] => 
            [comments_per_page] => 50
            [no_found_rows] => 
            [taxonomy] => style
            [term] => hotel
            [order] => DESC
            [use_rml_folder] => 
        )

    [tax_query] => WP_Tax_Query Object
        (
            [queries] => Array
                (
                    [0] => Array
                        (
                            [taxonomy] => style
                            [terms] => Array
                                (
                                    [0] => hotel
                                )

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

                )

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

            [queried_terms] => Array
                (
                    [style] => Array
                        (
                            [terms] => Array
                                (
                                    [0] => hotel
                                )

                            [field] => slug
                        )

                )

            [primary_table] => 2XDposts
            [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] => 
    [queried_object] => WP_Term Object
        (
            [term_id] => 8
            [name] => Hotel
            [slug] => hotel
            [term_group] => 0
            [term_taxonomy_id] => 8
            [taxonomy] => style
            [description] => 
            [parent] => 0
            [count] => 1
            [filter] => raw
        )

    [queried_object_id] => 8
    [request] => SELECT SQL_CALC_FOUND_ROWS  2XDposts.ID
					 FROM 2XDposts  LEFT JOIN 2XDterm_relationships ON (2XDposts.ID = 2XDterm_relationships.object_id) LEFT  JOIN 2XDicl_translations wpml_translations
							ON 2XDposts.ID = wpml_translations.element_id
								AND wpml_translations.element_type = CONCAT('post_', 2XDposts.post_type) 
					 WHERE 1=1  AND ( 
  2XDterm_relationships.term_taxonomy_id IN (8)
) AND ((2XDposts.post_type = 'apartments' AND (2XDposts.post_status = 'publish' OR 2XDposts.post_status = 'acf-disabled')) OR (2XDposts.post_type = 'attachment' AND (2XDposts.post_status = 'publish' OR 2XDposts.post_status = 'acf-disabled')) OR (2XDposts.post_type = 'essential' AND (2XDposts.post_status = 'publish' OR 2XDposts.post_status = 'acf-disabled')) OR (2XDposts.post_type = 'hostel' AND (2XDposts.post_status = 'publish' OR 2XDposts.post_status = 'acf-disabled')) OR (2XDposts.post_type = 'hotel' AND (2XDposts.post_status = 'publish' OR 2XDposts.post_status = 'acf-disabled')) OR (2XDposts.post_type = 'impression' AND (2XDposts.post_status = 'publish' OR 2XDposts.post_status = 'acf-disabled')) OR (2XDposts.post_type = 'long-stay' AND (2XDposts.post_status = 'publish' OR 2XDposts.post_status = 'acf-disabled')) OR (2XDposts.post_type = 'page' AND (2XDposts.post_status = 'publish' OR 2XDposts.post_status = 'acf-disabled'))) AND ( ( ( wpml_translations.language_code = 'de' OR (
					wpml_translations.language_code = 'de'
					AND 2XDposts.post_type IN ( 'post','page','hotel','apartments','long-stay','impression','common_areas','testimonials','neighbourhood','acfe-dop' )
					AND ( ( 
			( SELECT COUNT(element_id)
			  FROM 2XDicl_translations
			  WHERE trid = wpml_translations.trid
			  AND language_code = 'de'
			) = 0
			 ) OR ( 
			( SELECT COUNT(element_id)
				FROM 2XDicl_translations t2
				JOIN 2XDposts p ON p.id = t2.element_id
				WHERE t2.trid = wpml_translations.trid
				AND t2.language_code = 'de'
                AND (
                    p.post_status = 'publish' OR p.post_status = 'private' OR 
                    ( p.post_type='attachment' AND p.post_status = 'inherit' )
                )
			) = 0 ) ) 
				) ) AND 2XDposts.post_type  IN ('post','page','attachment','wp_block','wp_template','wp_template_part','wp_navigation','wpcf7_contact_form','hotel','apartments','hostel','long-stay','impression','essential','common_areas','testimonials','neighbourhood','acfe-dop' )  ) OR 2XDposts.post_type  NOT  IN ('post','page','attachment','wp_block','wp_template','wp_template_part','wp_navigation','wpcf7_contact_form','hotel','apartments','hostel','long-stay','impression','essential','common_areas','testimonials','neighbourhood','acfe-dop' )  )
					 GROUP BY 2XDposts.ID
					 ORDER BY 2XDposts.post_date DESC
					 LIMIT 0, 10
    [posts] => Array
        (
            [0] => WP_Post Object
                (
                    [ID] => 2067
                    [post_author] => 1
                    [post_date] => 2022-08-08 08:20:22
                    [post_date_gmt] => 2022-08-08 08:20:22
                    [post_content] => 
                    [post_title] => Old ­­­­
Town
Hote­­­­­­l [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => old-town-hotel [to_ping] => [pinged] => [post_modified] => 2025-02-28 19:44:42 [post_modified_gmt] => 2025-02-28 18:44:42 [post_content_filtered] => [post_parent] => 0 [guid] => https://www.ota-berlin.de/?post_type=hotel&p=2067 [menu_order] => 0 [post_type] => hotel [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [before_loop] => 1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 2067 [post_author] => 1 [post_date] => 2022-08-08 08:20:22 [post_date_gmt] => 2022-08-08 08:20:22 [post_content] => [post_title] => Old ­­­­
Town
Hote­­­­­­l [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => old-town-hotel [to_ping] => [pinged] => [post_modified] => 2025-02-28 19:44:42 [post_modified_gmt] => 2025-02-28 18:44:42 [post_content_filtered] => [post_parent] => 0 [guid] => https://www.ota-berlin.de/?post_type=hotel&p=2067 [menu_order] => 0 [post_type] => hotel [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 1 [max_num_pages] => 1 [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_favicon] => [is_posts_page] => [is_post_type_archive] => [query_vars_hash:WP_Query:private] => 5c805b9eadfbbc91b82be57f4ab5ed55 [query_vars_changed:WP_Query:private] => 1 [thumbnails_cached] => [allow_query_attachment_by_filename:protected] => [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 ) )