better_search_query_pro_posts_join
Modify the posts_join clause for taxonomy weightage.
Type: filter
Since: 4.2.0
Source: includes/class-query-modifier.php line 935
Parameters
| Type | Name | Description |
|---|---|---|
string | $join | The JOIN clause of the query. |
\WP_Query | $query | The WP_Query instance. |
\Better_Search_Core_Query | $instance | The Better_Search_Core_Query instance. |
Usage
add_filter( 'better_search_query_pro_posts_join', function($join, $query, $instance) {
// ...
return $join;
} );