top_ten_query_tax_query
Filter the tax_query passed to the query.
Type: filter
Since: 3.0.0
Source: includes/class-top-ten-core-query.php line 337
Parameters
| Type | Name | Description |
|---|---|---|
array | $tax_query | Array of tax_query parameters. |
array | $args | Arguments array. |
Usage
add_filter( 'top_ten_query_tax_query', function($tax_query, $args) {
// ...
return $tax_query;
} );