top_ten_query_tax_query_relation
Filter the tax_query relation parameter.
Type: filter
Since: 3.2.0
Source: includes/class-top-ten-core-query.php line 349
Parameters
| Type | Name | Description |
|---|---|---|
string |
$relation |
The logical relationship between each inner taxonomy array when there is more than one. Default is ‘AND’. |
array |
$args |
Arguments array. |
Usage
add_filter( 'top_ten_query_tax_query_relation', function($relation, $args) {
// ...
return $relation;
} );