VA_Listing_Search_View::posts_search( string $where, WP_Query $wp_query )
Filters the search SQL that is used in the WHERE clause of WP_Query.
Package
Description Description
Parameters Parameters
- $where
(string) (Required) Search SQL for WHERE clause.
- $wp_query
(WP_Query) (Required) The current WP_Query object.
Return Return
(string) $search
Changelog Changelog
Version | Description |
---|---|
4.1.3 | Restored va_search_index_enabled() to use by plugins. Added support of exclusion prefix. |
4.0.0 | Rebuilt for better speed, security, and dropped older WP support. Removed va_search_index_enabled() support. |
1.x.x | Introduced. |