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

Filters all query clauses at once, for convenience.


Package


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

$clauses

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

$wp_query

(WP_Query) (Required) The WP_Query instance.


Top ↑

Changelog Changelog

Changelog
VersionDescription
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.
1.x.xIntroduced.

Premium WordPress Apps