28.Actions and filters

How to Add Custom Field Filters to Property Queries

Filter: wpestate_query_2026_meta_query This filter gives you direct access to the meta query clauses that the Query 2026 engine has built. Meta queries are the part of a WordPress database query that filters posts by their custom field (post meta) values — for example, filtering properties by price range, number of bedrooms, property size, or any […]

How to Map Custom Search Form Fields to Query Parameters

Filter: wpestate_query_2026_search_params This filter fires after the Query 2026 engine has finished parsing a search form submission into a canonical parameter array. When a visitor uses the advanced search form on your site, the browser sends raw $_GET parameters (like ?property_city=new-york&price_low=100000). The engine parses these raw values into a clean, structured $params array that the […]

How to Inspect or Replace Query Results After Execution

Filter: wpestate_query_2026_result This filter fires after the database query has been executed and the result has been formatted into a standardized array. It is the only post-execution filter in the Query 2026 pipeline. Unlike the other filters which modify the query before it runs, this filter lets you inspect or modify the output. Common use […]

How to Modify the Final WP_Query Arguments

Filter: wpestate_query_2026_args This filter gives you access to the complete, final WP_Query arguments array right before the database query is executed. At this point, the entire pipeline has finished its work: pagination is set, sort order is resolved, taxonomy clauses are built, meta clauses are assembled, geolocation filters are applied, and identity filters (post IDs, […]

How to Add Custom Taxonomy Filters to Property Queries

Filter: wpestate_query_2026_meta_query This filter gives you direct access to the meta query clauses that the Query 2026 engine has built. Meta queries are the part of a WordPress database query that filters posts by their custom field (post meta) values — for example, filtering properties by price range, number of bedrooms, property size, or any […]

How to Modify Property Query Parameters Before Execution

Filter: wpestate_query_2026_params This is the most versatile filter in the Query 2026 pipeline. It fires after all parameters have been normalized (sanitized, type-cast, and merged with context defaults), but before any WP_Query arguments are built. At this point, you have access to the complete, clean parameter array and can inject, remove, or modify any value […]

How to Change Default Query Settings Per Page Type

Filter: wpestate_query_2026_context_defaults This filter allows you to change the base default values that every property query starts with. These defaults control settings like how many properties are shown per page, what sort order is used, and whether the query returns full post objects or just IDs. The WP Residence query engine uses four different contexts […]

How to Customize Property Queries Using WordPress Filter

WP Residence Query 2026 – WordPress Filters Reference Starting with version 5.4.1, the WP Residence theme includes a new property query engine called Query 2026. This engine handles all estate_property database queries across the theme, including property listing pages, map views, dashboard listings, and featured property widgets. To give child theme developers full control over […]