VA_Listing_Search_View::posts_clauses( array $clauses, WP_Query $wp_query )

Filters all query clauses at once, for convenience.


Description Description

Covers the WHERE, GROUP BY, JOIN, ORDER BY, DISTINCT, fields (SELECT), and LIMITS clauses. Enables searching of ALL taxonomies by name. Using custom prefixed aliases since they may collide with other plugins.

Parameters Parameters


(array) (Required) The list of clauses for the query.


(WP_Query) (Required) The WP_Query instance.

Top ↑

Changelog Changelog

4.1.3Restored va_search_index_enabled() so plugins can use it.
4.0.0Added support for all custom taxonomies. Removed va_search_index_enabled() support.

Premium WordPress Apps