28.Actions and filters Archives - WP Residence Help https://help.wpresidence.net/article-category/actions-and-filters/ Tue, 10 Mar 2026 07:12:50 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 How to Add Custom Field Filters to Property Queries https://help.wpresidence.net/article/how-to-add-custom-field-filters-to-property-queries/ Mon, 09 Mar 2026 08:34:31 +0000 https://help.wpresidence.net/?post_type=article&p=15753 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 […]

The post How to Add Custom Field Filters to Property Queries appeared first on WP Residence Help.

]]>
How to Map Custom Search Form Fields to Query Parameters https://help.wpresidence.net/article/how-to-map-custom-search-form-fields-to-query-parameters/ Mon, 09 Mar 2026 08:25:55 +0000 https://help.wpresidence.net/?post_type=article&p=15750 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 […]

The post How to Map Custom Search Form Fields to Query Parameters appeared first on WP Residence Help.

]]>
How to Inspect or Replace Query Results After Execution https://help.wpresidence.net/article/how-to-inspect-or-replace-query-results-after-execution/ Mon, 09 Mar 2026 08:24:21 +0000 https://help.wpresidence.net/?post_type=article&p=15747 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 […]

The post How to Inspect or Replace Query Results After Execution appeared first on WP Residence Help.

]]>
How to Modify the Final WP_Query Arguments https://help.wpresidence.net/article/how-to-modify-the-final-wp_query-arguments/ Mon, 09 Mar 2026 08:23:51 +0000 https://help.wpresidence.net/?post_type=article&p=15745 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, […]

The post How to Modify the Final WP_Query Arguments appeared first on WP Residence Help.

]]>
How to Add Custom Taxonomy Filters to Property Queries https://help.wpresidence.net/article/how-to-add-custom-taxonomy-filters-to-property-queries/ Mon, 09 Mar 2026 08:23:25 +0000 https://help.wpresidence.net/?post_type=article&p=15743 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 […]

The post How to Add Custom Taxonomy Filters to Property Queries appeared first on WP Residence Help.

]]>
How to Modify Property Query Parameters Before Execution https://help.wpresidence.net/article/how-to-modify-property-query-parameters-before-execution/ Mon, 09 Mar 2026 08:22:48 +0000 https://help.wpresidence.net/?post_type=article&p=15741 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 […]

The post How to Modify Property Query Parameters Before Execution appeared first on WP Residence Help.

]]>
How to Change Default Query Settings Per Page Type https://help.wpresidence.net/article/how-to-change-default-query-settings-per-page-type/ Mon, 09 Mar 2026 08:17:03 +0000 https://help.wpresidence.net/?post_type=article&p=15733 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 […]

The post How to Change Default Query Settings Per Page Type appeared first on WP Residence Help.

]]>
How to Customize Property Queries Using WordPress Filter https://help.wpresidence.net/article/how-to-customize-property-queries-using-wordpress-filter/ Mon, 09 Mar 2026 08:13:36 +0000 https://help.wpresidence.net/?post_type=article&p=15731 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 […]

The post How to Customize Property Queries Using WordPress Filter appeared first on WP Residence Help.

]]>